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
This commit is contained in:
Todd Gamblin
2017-10-23 16:51:11 +02:00
parent b98fc48273
commit 5449884b2e
17 changed files with 27 additions and 27 deletions

View File

@@ -184,7 +184,7 @@ def check_install(self, spec):
try:
check = Executable("./check")
output = check(output=str)
except:
except ProcessError:
output = ""
success = output == expected
if not success: