Fix minor errors reported by codacy.com

This commit is contained in:
Julien Duponchelle
2015-11-03 12:34:22 +01:00
parent a961387af9
commit bd54c55ae1
5 changed files with 7 additions and 17 deletions

View File

@ -94,7 +94,6 @@ class WinStreamHandler(logging.StreamHandler):
stream.write(msg.encode(stream.encoding, errors="replace").decode(stream.encoding))
stream.write(self.terminator)
self.flush()
pass
except Exception:
self.handleError(record)