Mercurial > public > mercurial-scm > hg
diff hgext/mq.py @ 7280:810ca383da9c
remove unused variables
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 28 Oct 2008 19:25:26 +0100 |
parents | 8046f0a070a6 |
children | bd6deb7525f4 |
line wrap: on
line diff
--- a/hgext/mq.py Tue Oct 28 19:07:14 2008 +0100 +++ b/hgext/mq.py Tue Oct 28 19:25:26 2008 +0100 @@ -185,7 +185,6 @@ patchguards = self.series_guards[idx] if not patchguards: return True, None - default = False guards = self.active() exactneg = [g for g in patchguards if g[0] == '-' and g[1:] in guards] if exactneg: @@ -707,7 +706,7 @@ except: repo.rollback() raise - except Exception, inst: + except Exception: patchpath = self.join(patchfn) try: os.unlink(patchpath)