# HG changeset patch # User Patrick Mezard # Date 1190480736 -7200 # Node ID 121816063b9acff3816996c5332d9bae48a1f558 # Parent 639935f2e63ae00ccec57adddbaf868050f9e080 bisect: remove useless try/except diff -r 639935f2e63a -r 121816063b9a hgext/hbisect.py --- 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]")),