Always raise instances of NotImplementedError

This commit is contained in:
Laurent Bachelier 2014-10-10 13:07:26 +02:00
commit e2ac8687c6
3 changed files with 4 additions and 6 deletions

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
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))

View file

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

View file

@ -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 == '$':