applying patch from Olf to add the 'history' command to boobank and backends (refs #373)
This commit is contained in:
parent
9411dbccd9
commit
d8a739f86f
6 changed files with 88 additions and 3 deletions
|
|
@ -53,6 +53,10 @@ class BNPorcBackend(BaseBackend, ICapBank):
|
|||
else:
|
||||
raise AccountNotFound()
|
||||
|
||||
def iter_history(self, account):
|
||||
for history in self.browser.get_history(account):
|
||||
yield history
|
||||
|
||||
def iter_operations(self, account):
|
||||
for coming in self.browser.get_coming_operations(account):
|
||||
yield coming
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue