mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Fix deprecation warning
This commit is contained in:
parent
e8b3e7ca24
commit
012546b155
4
cli.py
4
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':
|
||||
|
Loading…
Reference in New Issue
Block a user