flake8 cleanups, ununsed imports and variables cleanup, changed register_diagnostics to use reverse_lazy instead of reverse

This commit is contained in:
Roberto Rosario
2011-05-06 10:39:54 -04:00
parent c40b3eec66
commit 07e9b12e78
14 changed files with 33 additions and 40 deletions

View File

@@ -121,7 +121,7 @@ def ocr_cleanup(text):
Cleanup the OCR's output passing it thru the selected language's
cleanup filter
"""
output = []
for line in text.splitlines():
line = line.strip()