do not support other kind of account histories than CPT

This commit is contained in:
Romain Bignon 2013-02-10 17:12:23 +01:00
commit 5b9c359487

View file

@ -55,10 +55,6 @@ class AccountsListPage(BasePage):
if account_type != 'CPT':
account.id += '.%s' % account_type
if account_type == 'Ass':
# We don't like licking asses.
account._link_id = None
if account_type == 'CB':
accounts[0]._card_links.append(account._link_id)
if not accounts[0].coming:
@ -66,6 +62,10 @@ class AccountsListPage(BasePage):
accounts[0].coming += account.balance
continue
if account_type != 'CPT':
# Don't support other kind of account histories.
account._link_id = None
account.currency = account.get_currency(tds[1].text)
account._card_links = []