Revert "[creditmut] transfer now accepts long and short IDs"
This reverts commit 3cbf1d13a6.
This commit is contained in:
parent
3d67c09311
commit
fae00c0131
1 changed files with 1 additions and 3 deletions
|
|
@ -50,7 +50,6 @@ class UserSpacePage(BasePage):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class AccountsPage(BasePage):
|
class AccountsPage(BasePage):
|
||||||
ALL_EXCEPT_DIGITS = re.compile("[^0-9]*")
|
|
||||||
def get_list(self):
|
def get_list(self):
|
||||||
accounts = OrderedDict()
|
accounts = OrderedDict()
|
||||||
|
|
||||||
|
|
@ -86,8 +85,7 @@ class AccountsPage(BasePage):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
account = Account()
|
account = Account()
|
||||||
# the id is only formed by digits
|
account.id = id
|
||||||
account.id = self.ALL_EXCEPT_DIGITS.sub('',id)
|
|
||||||
account.label = unicode(a.text).strip().lstrip(' 0123456789').title()
|
account.label = unicode(a.text).strip().lstrip(' 0123456789').title()
|
||||||
account._link_id = link
|
account._link_id = link
|
||||||
account._card_links = []
|
account._card_links = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue