1
Fork 0

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:
Konrad Borowski 2018-10-28 12:03:29 +01:00 committed by GitHub
parent 1982f1887a
commit 695ddbfbd5
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