From bfd09a2383256968b3c22c0213b5f8f986f24e59 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 30 Mar 2014 14:06:05 +0200 Subject: [PATCH] if an account type is not supported, raise NotImplementedError instead of BrokenPageError --- modules/banquepopulaire/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/banquepopulaire/pages.py b/modules/banquepopulaire/pages.py index 8dc33020..8a8bbc00 100644 --- a/modules/banquepopulaire/pages.py +++ b/modules/banquepopulaire/pages.py @@ -417,7 +417,7 @@ class TransactionsPage(BasePage): if len(self.document.xpath('//table[@id="TabFact"]')) > 0: return self.get_card_history(account, coming) - raise BrokenPageError('Unable to find what kind of history it is.') + raise NotImplementedError('Unable to find what kind of history it is.') COL_COMPTA_DATE = 0 COL_LABEL = 1