do not get coming operations, as their labels are useless

This commit is contained in:
Romain Bignon 2012-04-16 16:54:06 +02:00
commit 61f4e631dd

View file

@ -67,7 +67,10 @@ class SocieteGeneraleBackend(BaseBackend, ICapBank):
yield tr yield tr
def iter_coming(self, account): def iter_coming(self, account):
with self.browser: return iter([])
for tr in self.browser.iter_history(account._link_id):
if tr._coming: # XXX do not print coming operations, as their labels are really useless.
yield tr #with self.browser:
# for tr in self.browser.iter_history(account._link_id):
# if tr._coming:
# yield tr