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:
parent
1982f1887a
commit
695ddbfbd5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue