diff mercurial/hook.py @ 7644:182b7114d35a

error: move SignalInterrupt now derived from KeyboardInterrupt to simplify catches
author Matt Mackall <mpm@selenic.com>
date Mon, 12 Jan 2009 11:48:05 -0600
parents 196b05a548d0
children b8d750daadde
line wrap: on
line diff
--- a/mercurial/hook.py	Mon Jan 12 11:39:38 2009 -0600
+++ b/mercurial/hook.py	Mon Jan 12 11:48:05 2009 -0600
@@ -49,7 +49,7 @@
                              (hname, funcname))
     try:
         r = obj(ui=ui, repo=repo, hooktype=name, **args)
-    except (KeyboardInterrupt, util.SignalInterrupt):
+    except KeyboardInterrupt:
         raise
     except Exception, exc:
         if isinstance(exc, util.Abort):