do not call the deprecated attribute Exception.message

This commit is contained in:
Romain Bignon 2010-04-24 17:07:55 +02:00
commit 3b0db70c64
3 changed files with 4 additions and 4 deletions

View file

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