changeset 43987:ce37b35d4843

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
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Dec 2019 18:26:51 -0500
parents 71582c5ad00f
children c8a51a90929b
files hgext/mq.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = []