do not call the deprecated attribute Exception.message
This commit is contained in:
parent
66a460bb60
commit
3b0db70c64
3 changed files with 4 additions and 4 deletions
|
|
@ -112,7 +112,7 @@ class WeboobCfg(ConsoleApplication):
|
|||
try:
|
||||
self.weboob.backends_config.add_backend(name, type, params)
|
||||
except ConfigParser.DuplicateSectionError, e:
|
||||
print >>sys.stderr, 'Error: %s (filename=%s)' % (e.message, self.weboob.backends_config.confpath)
|
||||
print >>sys.stderr, 'Error: %s (filename=%s)' % (e, self.weboob.backends_config.confpath)
|
||||
return 1
|
||||
|
||||
@ConsoleApplication.command('List backends')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue