Skip to content

Commit 3be1503

Browse files
committed
Fix bare except
1 parent 10a32d8 commit 3be1503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/lsst/sconsUtils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Try to import the generated version module.
1717
try:
1818
from .version import *
19-
except:
19+
except Exception:
2020
__version__ = "unknown"
2121

2222
# These should remain in their own namespaces

0 commit comments

Comments
 (0)