summaryrefslogtreecommitdiff
path: root/cherrypy/test/logtest.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-10-28 10:37:53 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-10-28 10:37:53 -0400
commit24e17bcd1bc03397867ef4aa7ffcf1964453987b (patch)
tree14898f2ea0cd11ce1d283a0b763fdfbf628ba8df /cherrypy/test/logtest.py
parent217427fd3c8c62a3dc5058adfdba96492a0a867c (diff)
downloadcherrypy-git-24e17bcd1bc03397867ef4aa7ffcf1964453987b.tar.gz
Remove exemption for extra long lines. Updated code to conform with standard 79 character limitation. Fixes #1652.
Diffstat (limited to 'cherrypy/test/logtest.py')
-rw-r--r--cherrypy/test/logtest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cherrypy/test/logtest.py b/cherrypy/test/logtest.py
index 9775ba65..b51a0e32 100644
--- a/cherrypy/test/logtest.py
+++ b/cherrypy/test/logtest.py
@@ -170,7 +170,10 @@ class LogCase(object):
been marked (using self.markLog), the entire log will be searched.
"""
data = self._read_marked_region(marker)
- data = [chunk.decode('utf-8').rstrip('\n').rstrip('\r') for chunk in data]
+ data = [
+ chunk.decode('utf-8').rstrip('\n').rstrip('\r')
+ for chunk in data
+ ]
for log_chunk in data:
try:
uuid_log = data[-1]