Mercurial > public > mercurial-scm > hg-stable
diff mercurial/extensions.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 | 5751631246de |
children | 53c72ba36c2b |
line wrap: on
line diff
--- a/mercurial/extensions.py Mon Jan 12 11:39:38 2009 -0600 +++ b/mercurial/extensions.py Mon Jan 12 11:48:05 2009 -0600 @@ -75,7 +75,7 @@ path = os.path.expanduser(path) try: load(ui, name, path) - except (util.SignalInterrupt, KeyboardInterrupt): + except KeyboardInterrupt: raise except Exception, inst: if path: