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

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