flake8: apply all rest E7 rules

This commit is contained in:
Yuming Zhu 2020-02-26 04:49:48 +08:00
parent 6ed30954b2
commit f1ba6cefd7
24 changed files with 112 additions and 127 deletions

View file

@ -335,7 +335,7 @@ if __name__ == "__main__":
rv = 0
except (KeyboardInterrupt, SystemExit):
rv = 1
except:
except BaseException:
if options.debug:
raise
else:
@ -344,6 +344,6 @@ if __name__ == "__main__":
logger.error("%s: %s" % (exctype.__name__, value))
try:
session.logout()
except:
except BaseException:
pass
sys.exit(rv)