1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-10 04:02:17 +00:00

Fix deprecation warning

This commit is contained in:
spl0k 2013-09-07 15:11:13 +02:00
parent e8b3e7ca24
commit 012546b155

4
cli.py
View File

@ -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':