diff --git a/modules/bnporc/backend.py b/modules/bnporc/backend.py index c835b47ef1d4f56b94c8648df60c01a0edba6efb..1302cab8bfb6149205558e13bd84901c563616d2 100644 --- a/modules/bnporc/backend.py +++ b/modules/bnporc/backend.py @@ -90,7 +90,7 @@ def iter_history(self, account): with self.browser: return self.browser.iter_history(account._link_id) - def iter_operations(self, account): + def iter_coming(self, account): with self.browser: return self.browser.iter_coming_operations(account._link_id) diff --git a/modules/bnporc/test.py b/modules/bnporc/test.py index a3356944c9bd284d034c472b86f10413e4e64ce5..7c965ec40b5e4c2e847c01398dfeb72537558bed 100644 --- a/modules/bnporc/test.py +++ b/modules/bnporc/test.py @@ -29,7 +29,7 @@ def test_bank(self): l = list(self.backend.iter_accounts()) if len(l) > 0: a = l[0] - list(self.backend.iter_operations(a)) + list(self.backend.iter_coming(a)) list(self.backend.iter_history(a)) def test_msgs(self): diff --git a/modules/boursorama/backend.py b/modules/boursorama/backend.py index b5c110676993bde952bbab48145bbecfebec98fe..f8ec897424dadfb1107e52576323e9f2430edcdf 100644 --- a/modules/boursorama/backend.py +++ b/modules/boursorama/backend.py @@ -66,7 +66,8 @@ def iter_history(self, account): for history in self.browser.get_history(account): yield history - def iter_operations(self, account): - with self.browser: - for coming in self.browser.get_coming_operations(account): - yield coming + # TODO + #def iter_coming(self, account): + # with self.browser: + # for coming in self.browser.get_coming_operations(account): + # yield coming diff --git a/modules/boursorama/test.py b/modules/boursorama/test.py index 96266b712783034969eb970df0e64a3d61e64663..667b3210cf48d3c3b96b0338d5ca720308ad4fa2 100644 --- a/modules/boursorama/test.py +++ b/modules/boursorama/test.py @@ -28,5 +28,5 @@ def test_boursorama(self): l = list(self.backend.iter_accounts()) if len(l) > 0: a = l[0] - list(self.backend.iter_operations(a)) + list(self.backend.iter_coming(a)) list(self.backend.iter_history(a)) diff --git a/modules/creditmutuel/backend.py b/modules/creditmutuel/backend.py index dfa244499359010dde098fa5c8ff8e025d294010..82ec49bc9e608be6c6f980a398a0d7421fac1eb8 100644 --- a/modules/creditmutuel/backend.py +++ b/modules/creditmutuel/backend.py @@ -56,7 +56,7 @@ def get_account(self, _id): else: raise AccountNotFound() - def iter_operations(self, account): + def iter_coming(self, account): """ TODO Not supported yet """ return iter([]) diff --git a/modules/ing/backend.py b/modules/ing/backend.py index 5313cf79ee94a9730947b93155da74069ab5984b..baf1b7013affd9245a5f3e95cc60afa871b98cba 100644 --- a/modules/ing/backend.py +++ b/modules/ing/backend.py @@ -75,7 +75,8 @@ def iter_history(self, account): for history in self.browser.get_history(account.id): yield history - def iter_operations(self, account): - with self.browser: - for coming in self.browser.get_coming_operations(account.id): - yield coming + # TODO + #def iter_coming(self, account): + # with self.browser: + # for coming in self.browser.get_coming_operations(account.id): + # yield coming diff --git a/modules/ing/test.py b/modules/ing/test.py index 39df82f9eb2ca5a651f69091708b38bfc0f380a0..ab420203f1ac0db9774ad5126c9ba739ad5698f7 100644 --- a/modules/ing/test.py +++ b/modules/ing/test.py @@ -28,5 +28,5 @@ def test_ing(self): l = list(self.backend.iter_accounts()) if len(l) > 0: a = l[0] - list(self.backend.iter_operations(a)) + list(self.backend.iter_coming(a)) list(self.backend.iter_history(a)) diff --git a/modules/lcl/backend.py b/modules/lcl/backend.py index 16e30d5ef5cc3b43d2b8f5ac13b0b1bd4590fc9d..e367a740d349657cb06a09c2b62b834761630917 100644 --- a/modules/lcl/backend.py +++ b/modules/lcl/backend.py @@ -59,7 +59,7 @@ def get_account(self, _id): else: raise AccountNotFound() - def iter_operations(self, account): + def iter_coming(self, account): """ TODO Not supported yet """ return iter([]) diff --git a/modules/societegenerale/test.py b/modules/societegenerale/test.py index 344093dc2395dec268229add88152ea3f85e105a..6c832af2ade04e642f6ba514676ecd38369310be 100644 --- a/modules/societegenerale/test.py +++ b/modules/societegenerale/test.py @@ -28,5 +28,5 @@ def test_societegenerale(self): self.assertTrue(len(l) > 0) #if len(l) > 0: # a = l[0] - # list(self.backend.iter_operations(a)) + # list(self.backend.iter_coming(a)) # list(self.backend.iter_history(a)) diff --git a/weboob/applications/boobank/boobank.py b/weboob/applications/boobank/boobank.py index 06edd50e11c45a4c0c098b04d2fdbb2a78e93af2..ef0786a42af9bf4cedc38cf2a7037e4a02593799 100644 --- a/weboob/applications/boobank/boobank.py +++ b/weboob/applications/boobank/boobank.py @@ -238,7 +238,7 @@ def do_coming(self, id): def do(backend): account = backend.get_account(id) - return backend.iter_operations(account) + return backend.iter_coming(account) for backend, operation in self.do(do, backends=names): self.format(operation)