From ec0cd86a8eb035a755eaca4085de20a7b208b52a Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 28 Sep 2012 18:26:08 +0200 Subject: [PATCH] as this account is not supported, raise a NotImplementedError instead of returning an empty list --- modules/societegenerale/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/societegenerale/browser.py b/modules/societegenerale/browser.py index 1f1bc1d9..4265a3ed 100644 --- a/modules/societegenerale/browser.py +++ b/modules/societegenerale/browser.py @@ -102,6 +102,6 @@ class SocieteGenerale(BaseBrowser): if not self.is_on_page(AccountHistory): # TODO: support other kind of accounts self.logger.warning('This account is not supported') - return iter([]) + raise NotImplementedError('This account is not supported') return self.page.iter_transactions()