Collections are now base objects
So no need for this check anymore.
refs #774 and reverts a change of 9c5326c0
This commit is contained in:
parent
b4b7182960
commit
1a5ece25df
1 changed files with 0 additions and 2 deletions
|
|
@ -24,7 +24,6 @@ from copy import copy
|
|||
from threading import Thread, Event, RLock, Timer
|
||||
|
||||
from weboob.capabilities.base import CapBaseObject
|
||||
from weboob.capabilities.collection import Collection
|
||||
from weboob.tools.misc import get_backtrace
|
||||
from weboob.tools.log import getLogger
|
||||
|
||||
|
|
@ -93,7 +92,6 @@ class BackendsCall(object):
|
|||
if isinstance(result, CapBaseObject):
|
||||
if self.condition and not self.condition.is_valid(result):
|
||||
return
|
||||
if isinstance(result, (CapBaseObject, Collection)):
|
||||
result.backend = backend.name
|
||||
self.responses.append((backend, result))
|
||||
self.response_event.set()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue