diff hgext/hbisect.py @ 5322:121816063b9a

bisect: remove useless try/except
author Patrick Mezard <pmezard@gmail.com>
date Sat, 22 Sep 2007 19:05:36 +0200
parents 189d82b6962e
children f6fa7ae0ffff
line wrap: on
line diff
--- a/hgext/hbisect.py	Sat Sep 22 18:56:36 2007 +0200
+++ b/hgext/hbisect.py	Sat Sep 22 19:05:36 2007 +0200
@@ -303,12 +303,9 @@
     if len(args) > bisectcmdtable[cmd][1]:
         ui.warn(_("bisect: Too many arguments\n"))
         return help_()
-    try:
-        ret = bisectcmdtable[cmd][0](*args)
-        b.write()
-        return ret
-    except:
-        raise
+    ret = bisectcmdtable[cmd][0](*args)
+    b.write()
+    return ret
 
 cmdtable = {
     "bisect": (bisect_run, [], _("hg bisect [help|init|reset|next|good|bad]")),