[weboob] [PATCH] creditmutuel: fix listing of recipients in 'transfer'

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Apr 27 10:05:40 CEST 2013


Without the patch below, I get:
Bug(creditmutuel): 'generator' object has no attribute 'itervalues'

The patch fixes this.



diff --git a/modules/creditmutuel/backend.py b/modules/creditmutuel/backend.py
index 35d1c68..cdbe639 100644
--- a/modules/creditmutuel/backend.py
+++ b/modules/creditmutuel/backend.py
@@ -70,7 +70,7 @@ class CreditMutuelBackend(BaseBackend, ICapBank):
                     yield tr
     def iter_transfer_recipients(self, ignored):
-        for account in self.browser.get_accounts_list().itervalues():
+        for account in self.browser.get_accounts_list():
             recipient = Recipient()
             recipient.id = account.id
             recipient.label = account.label

More information about the weboob mailing list