Always raise instances of NotImplementedError
This commit is contained in:
parent
cbd084283d
commit
e2ac8687c6
3 changed files with 4 additions and 6 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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 == '$':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue