summaryrefslogtreecommitdiff
path: root/numpy/linalg/lapack_lite
diff options
context:
space:
mode:
authorAndrew Watson <awatson@math.utah.edu>2021-07-01 14:20:57 -0600
committerAndrew Watson <awatson@math.utah.edu>2021-07-01 14:20:57 -0600
commit7949ba5ec0543d3b1fd68e95072838fbb3333492 (patch)
tree4338ed4999e475d71cca46c7404b43ce98e80cff /numpy/linalg/lapack_lite
parent6d9e294c47e790067e0b5724afecb4e38a542bd0 (diff)
downloadnumpy-7949ba5ec0543d3b1fd68e95072838fbb3333492.tar.gz
MAINT: fix overly broad exception handling listed in LGTM
Relates to ticket #19077
Diffstat (limited to 'numpy/linalg/lapack_lite')
-rwxr-xr-xnumpy/linalg/lapack_lite/make_lite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/lapack_lite/make_lite.py b/numpy/linalg/lapack_lite/make_lite.py
index b145f6c4f..ab409f29b 100755
--- a/numpy/linalg/lapack_lite/make_lite.py
+++ b/numpy/linalg/lapack_lite/make_lite.py
@@ -275,7 +275,7 @@ def scrubF2CSource(c_file):
def ensure_executable(name):
try:
which(name)
- except:
+ except Exception:
raise SystemExit(name + ' not found')
def create_name_header(output_dir):