Account.link_id becomes a private attribute

This commit is contained in:
Romain Bignon 2012-03-10 09:03:26 +01:00
commit 35688f58c9
18 changed files with 37 additions and 30 deletions

View file

@ -83,7 +83,7 @@ class SocieteGenerale(BaseBrowser):
raise NotImplementedError()
#if not self.is_on_page(AccountHistory) or self.page.account.id != account.id:
# self.location(account.link_id)
# self.location(account._link_id)
#return self.page.get_operations()
def transfer(self, from_id, to_id, amount, reason=None):

View file

@ -38,7 +38,7 @@ class AccountsList(BasePage):
if td.attrib.get('headers', '') == 'TypeCompte':
a = td.find('a')
account.label = a.find("span").text
account.link_id = a.get('href', '')
account._link_id = a.get('href', '')
elif td.attrib.get('headers', '') == 'NumeroCompte':
id = td.text