changes to fix flake8 issues
This commit is contained in:
parent
1fc8d647c3
commit
dee91e97bf
23 changed files with 51 additions and 1005 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue