rename exception

This commit is contained in:
Christophe Benz 2010-07-20 16:47:30 +02:00
commit d067808416
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ import sys
from weboob.core import CallErrors
from weboob.core.backends import BackendsConfig
from weboob.tools.backend import NotSupportedObject
from weboob.tools.backend import ObjectNotSupported
from .base import BackendNotFound, BaseApplication
from .formatters.load import formatters, load_formatter
@ -286,6 +286,6 @@ class ConsoleApplication(BaseApplication):
if fields:
try:
backend.fillobj(result, fields)
except NotSupportedObject, e:
except ObjectNotSupported, e:
logging.warning(u'Could not retrieve required fields (%s): %s' % (','.join(fields), e))
yield backend, result