aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/message.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-03-27 12:02:41 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-03-27 12:02:41 +0200
commitec68d8b8e4a9fc24e45379359f96b3ebc30e381a (patch)
tree8a37b879502b5a6e68f02a374761481241f6dd5d /netlib/http/message.py
parentab7e80085af891c494bc274c0cde27d49f89f254 (diff)
downloadmitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.tar.gz
mitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.tar.bz2
mitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.zip
s/nocover/no cover/g
according to coveralls docs
Diffstat (limited to 'netlib/http/message.py')
-rw-r--r--netlib/http/message.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/netlib/http/message.py b/netlib/http/message.py
index 1df0f087..b6d846ba 100644
--- a/netlib/http/message.py
+++ b/netlib/http/message.py
@@ -7,7 +7,7 @@ import six
from .headers import Headers
from .. import encoding, utils
-if six.PY2: # pragma: nocover
+if six.PY2: # pragma: no cover
_native = lambda x: x
_always_bytes = lambda x: x
else:
@@ -180,12 +180,12 @@ class Message(utils.Serializable):
# Legacy
@property
- def body(self): # pragma: nocover
+ def body(self): # pragma: no cover
warnings.warn(".body is deprecated, use .content instead.", DeprecationWarning)
return self.content
@body.setter
- def body(self, body): # pragma: nocover
+ def body(self, body): # pragma: no cover
warnings.warn(".body is deprecated, use .content instead.", DeprecationWarning)
self.content = body