Fixed E129 flake8 errors

visually indented line with same indent as next logical line
This commit is contained in:
Andras Tim
2017-07-17 01:25:07 +02:00
parent cf97159009
commit 1c935db571
5 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ def format_exception_only(etype, value):
# would throw another exception and mask the original problem.
if (isinstance(etype, BaseException) or
isinstance(etype, types.InstanceType) or
etype is None or type(etype) is str):
etype is None or type(etype) is str):
return [_format_final_exc_line(etype, value)]
stype = etype.__name__