mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8866 from ethereum/make_script_case_insensitive
[Trivial] Make error correction script user interaction case insensitive
This commit is contained in:
commit
98db712292
@ -126,9 +126,9 @@ def main():
|
||||
f"Please commit current changes first, and review the results when the script finishes.\n\n"
|
||||
f"Do you want to start [Y/N]? "
|
||||
)
|
||||
while len(answer) == 0 or answer not in "YN":
|
||||
while len(answer) == 0 or answer not in "YNyn":
|
||||
answer = input("[Y/N]? ")
|
||||
if answer != "Y":
|
||||
if answer not in "yY":
|
||||
return
|
||||
|
||||
source_file_names = find_source_files(cwd)
|
||||
|
Loading…
Reference in New Issue
Block a user