diff --git a/modules/lcl/module.py b/modules/lcl/module.py index 7d6ebcd6..673ca7cb 100644 --- a/modules/lcl/module.py +++ b/modules/lcl/module.py @@ -18,8 +18,6 @@ # along with weboob. If not, see . - - from weboob.capabilities.bank import CapBank, AccountNotFound from weboob.tools.backend import Module, BackendConfig from weboob.tools.value import ValueBackendPassword, Value @@ -87,7 +85,7 @@ class LCLModule(Module, CapBank): def iter_coming(self, account): if self.BROWSER != LCLBrowser: - raise NotImplementedError + raise NotImplementedError() with self.browser: transactions = list(self.browser.get_cb_operations(account)) diff --git a/weboob/capabilities/contact.py b/weboob/capabilities/contact.py index 17877b17..bafee621 100644 --- a/weboob/capabilities/contact.py +++ b/weboob/capabilities/contact.py @@ -216,7 +216,7 @@ class CapContact(Capability): :type id: str :rtype: unicode """ - raise NotImplementedError + raise NotImplementedError() def save_notes(self, id, notes): """ @@ -226,4 +226,4 @@ class CapContact(Capability): :type id: str :returns: the unicode object to save as notes """ - raise NotImplementedError + raise NotImplementedError() diff --git a/weboob/tools/regex_helper.py b/weboob/tools/regex_helper.py index 734a1a6d..9e7639b8 100644 --- a/weboob/tools/regex_helper.py +++ b/weboob/tools/regex_helper.py @@ -116,7 +116,7 @@ def normalize(pattern): result.append(u".") elif ch == '|': # FIXME: One day we'll should do this, but not in 1.0. - raise NotImplementedError + raise NotImplementedError() elif ch == "^": pass elif ch == '$':