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:
@@ -270,7 +270,7 @@ def check_install(self):
|
||||
try:
|
||||
check = Executable('./check')
|
||||
output = check(output=str)
|
||||
except:
|
||||
except ProcessError:
|
||||
output = ""
|
||||
success = output == expected
|
||||
if not success:
|
||||
|
Reference in New Issue
Block a user