Skip to content

Commit

Permalink
Fix bare except for pycodestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jdillard committed Jan 6, 2020
1 parent 545f059 commit bacc8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_gitstamp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def what_build_am_i(app):
try:
global g
g = git.Git('.')
except:
except BaseException:
app.info(sys.exc_info()[0])
app.warn("gitstamp extension enabled, but no git repository found. No \
git datestamps will be generated.")
Expand Down

0 comments on commit bacc8cb

Please sign in to comment.