mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
pylint_all: Handle Ctrl+C more gracefully
This commit is contained in:
parent
714cce175f
commit
7dd24edf14
@ -86,4 +86,7 @@ def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
try:
|
||||
main()
|
||||
except KeyboardInterrupt:
|
||||
exit("Interrupted by user. Exiting.")
|
||||
|
Loading…
Reference in New Issue
Block a user