Fix for pep8 E722 and ignore E741

New flake8 release causes these to suddenly show up.

Change-Id: If7fa5a549a2e1651d0353defcc910374bdd226c2
This commit is contained in:
David Shrewsbury
2017-10-23 12:19:13 -04:00
committed by James E. Blair
parent 271475a4a9
commit 70798ea74b
12 changed files with 27 additions and 26 deletions

View File

@@ -108,7 +108,7 @@ class RequestHandler(socketserver.BaseRequestHandler):
if log is not None:
try:
log.file.close()
except:
except Exception:
pass
while True:
log = self.chunk_log(log_file)