rename exception
This commit is contained in:
parent
084d7ebd94
commit
d067808416
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue