# HG changeset patch # User Gregory Szorc # Date 2022-02-21 18:10:47 # Node ID 1414b65303d5ba703ca2f8c80d3ec3389da347bf # Parent dea766fca7e148c4ed1d1eed0387b2f20013f0be localrepo: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12330 diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -2127,7 +2127,7 @@ class localrepository(object): '''return a list of tags ordered by revision''' if not self._tagscache.tagslist: l = [] - for t, n in pycompat.iteritems(self.tags()): + for t, n in self.tags().items(): l.append((self.changelog.rev(n), t, n)) self._tagscache.tagslist = [(t, n) for r, t, n in sorted(l)]