support SystemExit in dispatcher
authorAlexander Solovyov <piranha@piranha.org.ua>
Sat, 27 Jun 2009 20:52:03 +0300
changeset 18 04881fa9e4f3
parent 17 5736d050a5a4
child 19 70838ce7b26a
support SystemExit in dispatcher
fancycmd.py
--- a/fancycmd.py	Sat Jun 27 19:32:48 2009 +0300
+++ b/fancycmd.py	Sat Jun 27 20:52:03 2009 +0300
@@ -88,6 +88,8 @@
         cmdtable['help'][0](ui, e.args[0])
     except KeyboardInterrupt:
         ui.warn('interrupted!\n')
+    except SystemExit:
+        raise
     except:
         ui.warn('unknown exception encountered')
         raise