From fae00c0131cc9ac9e59f5f598cf9651dcb5a4663 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 12 Feb 2013 20:22:03 +0100 Subject: [PATCH] Revert "[creditmut] transfer now accepts long and short IDs" This reverts commit 3cbf1d13a60e951b269d6c15ff4ebef47e86f6d1. --- modules/creditmutuel/pages.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index 5b9460db..0c5e8e9f 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -50,7 +50,6 @@ class UserSpacePage(BasePage): pass class AccountsPage(BasePage): - ALL_EXCEPT_DIGITS = re.compile("[^0-9]*") def get_list(self): accounts = OrderedDict() @@ -86,8 +85,7 @@ class AccountsPage(BasePage): continue account = Account() - # the id is only formed by digits - account.id = self.ALL_EXCEPT_DIGITS.sub('',id) + account.id = id account.label = unicode(a.text).strip().lstrip(' 0123456789').title() account._link_id = link account._card_links = []