Skip to content

Commit bacc8cb

Browse files
committed
Fix bare except for pycodestyle
1 parent 545f059 commit bacc8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx_gitstamp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def what_build_am_i(app):
8080
try:
8181
global g
8282
g = git.Git('.')
83-
except:
83+
except BaseException:
8484
app.info(sys.exc_info()[0])
8585
app.warn("gitstamp extension enabled, but no git repository found. No \
8686
git datestamps will be generated.")

0 commit comments

Comments
 (0)