Skip to content

Commit

Permalink
Avoid directly catching BaseException in bootstrap configure script
Browse files Browse the repository at this point in the history
It includes stuff like pressing CTRL+C, which likely isn't intended.
  • Loading branch information
KamilaBorowska authored Oct 28, 2018
1 parent 1982f18 commit 695ddbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 695ddbf

Please sign in to comment.