summaryrefslogtreecommitdiff
path: root/cherrypy/test/logtest.py
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-03-11 22:16:00 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-03-11 22:16:00 +0200
commitba43427b1d034692454647cdf2eb9495f61cab2a (patch)
tree50481effc953b7ea5e500924ce5a911afc6cd4b6 /cherrypy/test/logtest.py
parent54b35f2a9e7191bc4a3002281e1044983dc0a45d (diff)
downloadcherrypy-git-ba43427b1d034692454647cdf2eb9495f61cab2a.tar.gz
PEP8fy codebase: eliminated E713 flake8 error
Diffstat (limited to 'cherrypy/test/logtest.py')
-rw-r--r--cherrypy/test/logtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/logtest.py b/cherrypy/test/logtest.py
index b6201f2a..5361cfb8 100644
--- a/cherrypy/test/logtest.py
+++ b/cherrypy/test/logtest.py
@@ -126,7 +126,7 @@ class LogCase(object):
in_region = False
for line in open(logfile, 'rb'):
if in_region:
- if (line.startswith(self.markerPrefix) and not marker in line):
+ if line.startswith(self.markerPrefix) and marker not in line:
break
else:
data.append(line)