From a4a927befed251f2535dfb67c38285c02c86343a Mon Sep 17 00:00:00 2001 From: Baptiste Delpey Date: Mon, 11 May 2015 14:11:38 +0200 Subject: [PATCH] bnporc history not supported on life insurance --- modules/bnporc/deprecated/browser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/bnporc/deprecated/browser.py b/modules/bnporc/deprecated/browser.py index 99f1bbb1..a881fd28 100644 --- a/modules/bnporc/deprecated/browser.py +++ b/modules/bnporc/deprecated/browser.py @@ -152,6 +152,9 @@ class BNPorc(Browser): return None def iter_history(self, account): + if account.type == Account.TYPE_LIFE_INSURANCE: + raise NotImplementedError() + if account._link_id is None: return iter([])