Skip to content

Commit

Permalink
Rollup merge of rust-lang#55438 - xfix:patch-9, r=frewsxcv
Browse files Browse the repository at this point in the history
Avoid directly catching BaseException in bootstrap configure script

It includes stuff like pressing CTRL+C, which likely isn't intended.
  • Loading branch information
pietroalbini authored Oct 29, 2018
2 parents 06d0540 + 695ddbf commit 9d999a5
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 9d999a5

Please sign in to comment.