Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dispatch.py @ 7280:810ca383da9c
remove unused variables
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 28 Oct 2008 19:25:26 +0100 |
parents | 12a90281d83d |
children | 5751631246de |
line wrap: on
line diff
--- 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