Mercurial > hg
changeset 5322:121816063b9a
bisect: remove useless try/except
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 22 Sep 2007 19:05:36 +0200 |
parents | 639935f2e63a |
children | 46455285c6b5 |
files | hgext/hbisect.py |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
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]")),