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/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
from weboob.capabilities.bank import CapBank, AccountNotFound
|
from weboob.capabilities.bank import CapBank, AccountNotFound
|
||||||
from weboob.tools.backend import Module, BackendConfig
|
from weboob.tools.backend import Module, BackendConfig
|
||||||
from weboob.tools.value import ValueBackendPassword, Value
|
from weboob.tools.value import ValueBackendPassword, Value
|
||||||
|
|
@ -87,7 +85,7 @@ class LCLModule(Module, CapBank):
|
||||||
|
|
||||||
def iter_coming(self, account):
|
def iter_coming(self, account):
|
||||||
if self.BROWSER != LCLBrowser:
|
if self.BROWSER != LCLBrowser:
|
||||||
raise NotImplementedError
|
raise NotImplementedError()
|
||||||
|
|
||||||
with self.browser:
|
with self.browser:
|
||||||
transactions = list(self.browser.get_cb_operations(account))
|
transactions = list(self.browser.get_cb_operations(account))
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ class CapContact(Capability):
|
||||||
:type id: str
|
:type id: str
|
||||||
:rtype: unicode
|
:rtype: unicode
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError
|
raise NotImplementedError()
|
||||||
|
|
||||||
def save_notes(self, id, notes):
|
def save_notes(self, id, notes):
|
||||||
"""
|
"""
|
||||||
|
|
@ -226,4 +226,4 @@ class CapContact(Capability):
|
||||||
:type id: str
|
:type id: str
|
||||||
:returns: the unicode object to save as notes
|
:returns: the unicode object to save as notes
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError
|
raise NotImplementedError()
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ def normalize(pattern):
|
||||||
result.append(u".")
|
result.append(u".")
|
||||||
elif ch == '|':
|
elif ch == '|':
|
||||||
# FIXME: One day we'll should do this, but not in 1.0.
|
# FIXME: One day we'll should do this, but not in 1.0.
|
||||||
raise NotImplementedError
|
raise NotImplementedError()
|
||||||
elif ch == "^":
|
elif ch == "^":
|
||||||
pass
|
pass
|
||||||
elif ch == '$':
|
elif ch == '$':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue