summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh3llrais3r <pooh_beer_1@hotmail.com>2018-11-05 19:23:44 +0100
committerh3llrais3r <pooh_beer_1@hotmail.com>2018-11-05 19:23:44 +0100
commita9a0a08fa9c03036d6e59bde4abcf281b058dac0 (patch)
treefe2dee1ada0c3500942a790cc3980740bdb7e9f4
parentf9970363a21c0bbcc5183762df38858d8ea86922 (diff)
downloadcherrypy-git-a9a0a08fa9c03036d6e59bde4abcf281b058dac0.tar.gz
Fix flake8 error
-rw-r--r--cherrypy/lib/httputil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cherrypy/lib/httputil.py b/cherrypy/lib/httputil.py
index 61ac362a..59bcc746 100644
--- a/cherrypy/lib/httputil.py
+++ b/cherrypy/lib/httputil.py
@@ -518,7 +518,8 @@ class HeaderMap(CaseInsensitiveDict):
transmitting on the wire for HTTP.
"""
for k, v in header_items:
- if not isinstance(v, six.string_types) and not isinstance(v, six.binary_type):
+ if not isinstance(v, six.string_types) and \
+ not isinstance(v, six.binary_type):
v = six.text_type(v)
yield tuple(map(cls.encode_header_item, (k, v)))