changeset 7280 | 810ca383da9c |
parent 7224 | 12a90281d83d |
child 7388 | 5751631246de |
--- a/mercurial/dispatch.py Tue Oct 28 19:07:14 2008 +0100 +++ b/mercurial/dispatch.py Tue Oct 28 19:25:26 2008 +0100 @@ -374,7 +374,7 @@ def checkargs(): try: return cmdfunc() - except TypeError, inst: + except TypeError: # was this an argument error? tb = traceback.extract_tb(sys.exc_info()[2]) if len(tb) != 2: # no