applying patch from Olf to add the 'history' command to boobank and backends (refs #373)

This commit is contained in:
Romain Bignon 2010-08-12 17:54:57 +02:00
commit d8a739f86f
6 changed files with 88 additions and 3 deletions

View file

@ -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