From 9f453b30860b8343b8ea035632a46d2dbb8d31a5 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 25 Nov 2010 13:02:17 +0100 Subject: [PATCH] useless correction --- weboob/backends/creditmutuel/browser.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/weboob/backends/creditmutuel/browser.py b/weboob/backends/creditmutuel/browser.py index 4a15c686..d81da552 100644 --- a/weboob/backends/creditmutuel/browser.py +++ b/weboob/backends/creditmutuel/browser.py @@ -72,15 +72,26 @@ class CreditMutuelBrowser(BaseBrowser): def get_history(self, account): page_url = account.link_id #operations_count = 0 + l_ret = [] while (page_url): self.location('https://%s/cmdv/fr/banque/%s' % (self.DOMAIN, page_url)) #for page_operation in self.page.get_history(operations_count): # operations_count += 1 # yield page_operation + + ## FONCTIONNE + #for op in self.page.get_history(): + # yield op + + ## FONTIONNE + #return self.page.get_history() + for op in self.page.get_history(): - yield op + l_ret.append(op) page_url = self.page.next_page_url() + return l_ret + #def get_coming_operations(self, account): # if not self.is_on_page(AccountComing) or self.page.account.id != account.id: