flake8: apply all rest E7 rules
This commit is contained in:
parent
6ed30954b2
commit
f1ba6cefd7
24 changed files with 112 additions and 127 deletions
|
|
@ -199,7 +199,7 @@ def run_callbacks(cbtype, *args, **kws):
|
|||
cb_args, cb_kwargs = _fix_cb_args(func, args, kws, cache)
|
||||
try:
|
||||
func(cbtype, *cb_args, **cb_kwargs)
|
||||
except:
|
||||
except BaseException:
|
||||
msg = 'Error running %s callback from %s' % (cbtype, func.__module__)
|
||||
if getattr(func, 'failure_is_an_option', False):
|
||||
logging.getLogger('koji.plugin').warn(msg, exc_info=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue