D12332: merge: remove pycompat.iteritems()
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Mar 3 21:23:51 UTC 2022
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12332
AFFECTED FILES
mercurial/merge.py
CHANGE DETAILS
diff --git a/mercurial/merge.py b/mercurial/merge.py
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -625,9 +625,7 @@
args, msg = self._actionmapping[a][f]
yield f, args, msg
else:
- for f, (args, msg) in pycompat.iteritems(
- self._actionmapping[a]
- ):
+ for f, (args, msg) in self._actionmapping[a].items():
yield f, args, msg
def len(self, actions=None):
To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list