diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-03-20 16:04:52 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-03-20 16:04:52 -0400 |
commit | 0075c6d6b324c934e7cbb694a99e5dc7ab5697a6 (patch) | |
tree | 2da9801764272b01f80c3b27f1d797ebd15c15a9 /cmd2.py | |
parent | c319cd3dfdedf1df6b772855d2936af3c0ab205d (diff) | |
download | cmd2-git-0075c6d6b324c934e7cbb694a99e5dc7ab5697a6.tar.gz |
Fixed the text of the KeyboardInterrupt Exception that is getting raised within the SIGINT handler
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1496,7 +1496,7 @@ class Cmd(cmd.Cmd): pipe_proc.terminate() # Re-raise a KeyboardInterrupt so other parts of the code can catch it - raise KeyboardInterrupt("Got a keyboard interrupt within a Python script") + raise KeyboardInterrupt("Got a keyboard interrupt") def preloop(self): """Hook method executed once when the cmdloop() method is called.""" |