summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorcat <cat@eee>2010-02-18 15:35:36 -0500
committercat <cat@eee>2010-02-18 15:35:36 -0500
commit8bfd23d772027cee9aca72e61469eea3d09c32f4 (patch)
treed39f0f26458142eef935e026321a695fd48a46b9 /cmd2.py
parent591e6cab7b6ab1741e4dcc8766cc21998986227d (diff)
downloadcmd2-hg-8bfd23d772027cee9aca72e61469eea3d09c32f4.tar.gz
fix quit() in py
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 bc1146c..a8ef786 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -347,7 +347,7 @@ def replace_with_file_contents(fname):
result = get_paste_buffer()
return result
-class EmbeddedConsoleExit(Exception):
+class EmbeddedConsoleExit(SystemExit):
pass
class EmptyStatement(Exception):