mq: drop an unused variable assignment
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 18:26:51 -0500
changeset 43987 ce37b35d4843
parent 43986 71582c5ad00f
child 43988 c8a51a90929b
mq: drop an unused variable assignment Flagged by PyCharm. This variable is the index of a `for` loop below. Differential Revision: https://phab.mercurial-scm.org/D7755
hgext/mq.py
--- a/hgext/mq.py	Fri Dec 27 18:19:40 2019 -0500
+++ b/hgext/mq.py	Fri Dec 27 18:26:51 2019 -0500
@@ -2256,7 +2256,6 @@
     def restore(self, repo, rev, delete=None, qupdate=None):
         desc = repo[rev].description().strip()
         lines = desc.splitlines()
-        i = 0
         datastart = None
         series = []
         applied = []