hgext/mq.py
changeset 7280 810ca383da9c
parent 7271 8046f0a070a6
child 7297 bd6deb7525f4
--- 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)