# HG changeset patch # User Pierre-Yves David # Date 2020-04-14 02:17:57 # Node ID ed475420e0af00eba153449ebbf0f69b3092e473 # Parent f87804825df50c0c3ff3a01d670ec470e45e31ce nodemap: rename a variable to prevent shawoding "_" This will make pyflakes happy with the next changeset. Differential Revision: https://phab.mercurial-scm.org/D8412 diff --git a/mercurial/revlogutils/nodemap.py b/mercurial/revlogutils/nodemap.py --- a/mercurial/revlogutils/nodemap.py +++ b/mercurial/revlogutils/nodemap.py @@ -519,7 +519,7 @@ def _walk_trie(block): 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