flake8: apply all rest E7 rules
This commit is contained in:
parent
6ed30954b2
commit
f1ba6cefd7
24 changed files with 112 additions and 127 deletions
4
cli/koji
4
cli/koji
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue