aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/protocol/base.py')
-rw-r--r--libmproxy/protocol/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/protocol/base.py b/libmproxy/protocol/base.py
index d22a71c6..1c9b356c 100644
--- a/libmproxy/protocol/base.py
+++ b/libmproxy/protocol/base.py
@@ -43,7 +43,7 @@ class _LayerCodeCompletion(object):
Dummy class that provides type hinting in PyCharm, which simplifies development a lot.
"""
- def __init__(self, *args, **kwargs):
+ def __init__(self, *args, **kwargs): # pragma: nocover
super(_LayerCodeCompletion, self).__init__(*args, **kwargs)
if True:
return
@@ -70,7 +70,7 @@ class Layer(_LayerCodeCompletion):
Raises:
ProtocolException in case of protocol exceptions.
"""
- raise NotImplementedError
+ raise NotImplementedError()
def __getattr__(self, name):
"""