summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-03-20 16:04:52 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-03-20 16:04:52 -0400
commit0075c6d6b324c934e7cbb694a99e5dc7ab5697a6 (patch)
tree2da9801764272b01f80c3b27f1d797ebd15c15a9 /cmd2.py
parentc319cd3dfdedf1df6b772855d2936af3c0ab205d (diff)
downloadcmd2-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-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 851a8ac7..9f026571 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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."""