From 012546b1553134fa72f77a2ea868f3830d596393 Mon Sep 17 00:00:00 2001 From: spl0k Date: Sat, 7 Sep 2013 15:11:13 +0200 Subject: [PATCH] Fix deprecation warning --- cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.py b/cli.py index 99b5727..66dbfbb 100755 --- a/cli.py +++ b/cli.py @@ -36,7 +36,7 @@ class CLI(cmd.Cmd): try: args = self.folder_parser.parse_args(line.split()) except RuntimeError, e: - print >>sys.stderr, e.message + print >>sys.stderr, e return if args.action == 'list': @@ -99,7 +99,7 @@ class CLI(cmd.Cmd): try: args = self.user_parser.parse_args(line.split()) except RuntimeError, e: - print >>sys.stderr, e.message + print >>sys.stderr, e return if args.action == 'list':