summaryrefslogtreecommitdiff
path: root/cherrypy/lib/encoding.py
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-03-11 21:40:01 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-03-11 21:40:01 +0200
commitbd6cdf94d441446c193cbd6022782c40bacc2056 (patch)
tree79d6aea012bcf7b3c0c3e8d49433c46b9f57aa11 /cherrypy/lib/encoding.py
parent0e8f3f9ce9f3eda37b7ac096243bd523ba871840 (diff)
downloadcherrypy-git-bd6cdf94d441446c193cbd6022782c40bacc2056.tar.gz
PEP8fy codebase: eliminated E302 flake8 error
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r--cherrypy/lib/encoding.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cherrypy/lib/encoding.py b/cherrypy/lib/encoding.py
index ad435ea4..72e58f9c 100644
--- a/cherrypy/lib/encoding.py
+++ b/cherrypy/lib/encoding.py
@@ -37,6 +37,7 @@ def decode(encoding=None, default_encoding='utf-8'):
default_encoding = [default_encoding]
body.attempt_charsets = body.attempt_charsets + default_encoding
+
class UTF8StreamEncoder:
def __init__(self, iterator):
self._iterator = iterator