nodemap: rename a variable to prevent shawoding "_"
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 14 Apr 2020 04:17:57 +0200
changeset 44696 ed475420e0af
parent 44695 f87804825df5
child 44697 0792ad55e533
nodemap: rename a variable to prevent shawoding "_" This will make pyflakes happy with the next changeset. Differential Revision: https://phab.mercurial-scm.org/D8412
mercurial/revlogutils/nodemap.py
--- a/mercurial/revlogutils/nodemap.py	Fri Apr 10 22:30:50 2020 +0900
+++ b/mercurial/revlogutils/nodemap.py	Tue Apr 14 04:17:57 2020 +0200
@@ -519,7 +519,7 @@
 
     Children blocks are always yield before their parent block.
     """
-    for (_, item) in sorted(block.items()):
+    for (__, item) in sorted(block.items()):
         if isinstance(item, dict):
             for sub_block in _walk_trie(item):
                 yield sub_block