Patchwork [1,of,3] changegroup: remove unused variable caught by pyflakes

login
register
mail settings
Submitter Sean Farley
Date April 4, 2014, 1:36 a.m.
Message ID <1c57219a50b93db9eaa8.1396575382@laptop.local>
Download mbox | patch
Permalink /patch/4221/
State Accepted
Commit bfb40168391cd2b61bbffa2319e39e312009f0d5
Headers show

Comments

Sean Farley - April 4, 2014, 1:36 a.m.
# HG changeset patch
# User Sean Farley <sean.michael.farley@gmail.com>
# Date 1396574943 18000
#      Thu Apr 03 20:29:03 2014 -0500
# Node ID 1c57219a50b93db9eaa83aac4cbd941a37e57a79
# Parent  70f9a5d8c06fa53cfbbc01593c35540dc7eb1380
changegroup: remove unused variable caught by pyflakes

Patch

diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -358,11 +358,11 @@  class bundle10(object):
         mfs.clear()
         needed = set(cl.rev(x) for x in clnodes)
 
         def linknodes(filerevlog, fname):
             if fastpathlinkrev:
-                ln, llr = filerevlog.node, filerevlog.linkrev
+                llr = filerevlog.linkrev
                 def genfilenodes():
                     for r in filerevlog:
                         linkrev = llr(r)
                         if linkrev in needed:
                             yield filerevlog.node(r), cl.node(linkrev)