NotImplemented exception for history on asv and clean code
This commit is contained in:
parent
8631de03e8
commit
ea030bf6ab
2 changed files with 1 additions and 5 deletions
|
|
@ -263,7 +263,7 @@ class IngBrowser(LoginBrowser):
|
|||
return self.page.iter_history()
|
||||
else:
|
||||
# No history for ASV accounts.
|
||||
return iter([])
|
||||
raise NotImplementedError()
|
||||
|
||||
############# CapBill #############
|
||||
@need_login
|
||||
|
|
|
|||
|
|
@ -170,10 +170,6 @@ class AccountsList(LoggedPage, HTMLPage):
|
|||
item_xpath = '//table'
|
||||
|
||||
def get_history_jid(self):
|
||||
if self.is_asv:
|
||||
# Assurance Vie, we do not support this kind of account.
|
||||
return None
|
||||
|
||||
span = Attr('//span[starts-with(@id, "index:j_id")]', 'id')(self.doc)
|
||||
jid = span.split(':')[1]
|
||||
return jid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue