diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2017-10-23 16:51:11 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-10-24 10:05:36 +0200 |
commit | 5449884b2ecd84f61287923aaffa867d07cbf026 (patch) | |
tree | 290048d0cfaaa8347c2329e168e8f47875f651cd /lib/spack/spack/build_environment.py | |
parent | b98fc48273b4e2a6f0ae776a5956a7593db65cc5 (diff) | |
download | spack-5449884b2ecd84f61287923aaffa867d07cbf026.tar.gz spack-5449884b2ecd84f61287923aaffa867d07cbf026.tar.bz2 spack-5449884b2ecd84f61287923aaffa867d07cbf026.tar.xz spack-5449884b2ecd84f61287923aaffa867d07cbf026.zip |
Fix bare 'except:' to placate errors in new flake8 version.
- fixes E722 errors from latest version of flake8
- requires us to not use 'bare except:' and catch BaseException instead
Diffstat (limited to 'lib/spack/spack/build_environment.py')
-rw-r--r-- | lib/spack/spack/build_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index cc03374769..aac1d38f5a 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -567,7 +567,7 @@ def fork(pkg, function, dirty, fake): tty.msg(e.message) child_pipe.send(None) - except: + except BaseException: # catch ANYTHING that goes wrong in the child process exc_type, exc, tb = sys.exc_info() |