Skip to content

Commit

Permalink
Make flake8 happy
Browse files Browse the repository at this point in the history
Apparently the new release of flake8 does not like bare except
statements.
  • Loading branch information
malor authored and ikalnytskyi committed Oct 23, 2017
1 parent 6b6f1ab commit 69873a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xsnippet_api/resources/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ def try_int(value, base=10):
"""
try:
return int(value, base)
except:
except Exception:
return value

0 comments on commit 69873a0

Please sign in to comment.