mercurial/localrepo.py
changeset 43104 74802979dd9d
parent 43090 1f339b503a40
child 43106 d783f945a701
--- a/mercurial/localrepo.py	Sun Oct 06 17:45:05 2019 -0400
+++ b/mercurial/localrepo.py	Sun Oct 06 17:59:15 2019 -0400
@@ -1763,7 +1763,7 @@
             nodetagscache = {}
             for t, n in self._tagscache.tags.iteritems():
                 nodetagscache.setdefault(n, []).append(t)
-            for tags in nodetagscache.itervalues():
+            for tags in pycompat.itervalues(nodetagscache):
                 tags.sort()
             self._tagscache.nodetagscache = nodetagscache
         return self._tagscache.nodetagscache.get(node, [])