changeset 44696:ed475420e0af

nodemap: rename a variable to prevent shawoding "_" This will make pyflakes happy with the next changeset. Differential Revision: https://phab.mercurial-scm.org/D8412
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 14 Apr 2020 04:17:57 +0200
parents f87804825df5
children 0792ad55e533
files mercurial/revlogutils/nodemap.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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