changes to fix flake8 issues

This commit is contained in:
bharnden 2019-09-10 21:01:51 -07:00
parent 1fc8d647c3
commit dee91e97bf
23 changed files with 51 additions and 1005 deletions

View file

@ -1136,7 +1136,7 @@ class Session(object):
for hook in self._state_hooks.get(state, []):
try:
hook(state)
except:
except Exception:
message = "exception occured when running %s state hook: %s" % (
coreapi.state_name(state),
hook,