1
Fork 0

Rollup merge of #55438 - xfix:patch-9, r=frewsxcv

Avoid directly catching BaseException in bootstrap configure script

It includes stuff like pressing CTRL+C, which likely isn't intended.
This commit is contained in:
Pietro Albini 2018-10-29 09:47:49 +01:00 committed by GitHub
commit 9d999a53b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,7 +397,7 @@ def is_number(value):
try:
float(value)
return True
except:
except ValueError:
return False
# Here we walk through the constructed configuration we have from the parsed