D12329: keepalive: remove pycompat.iteritems()
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Mar 3 21:23:47 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/D12329
AFFECTED FILES
mercurial/keepalive.py
CHANGE DETAILS
diff --git a/mercurial/keepalive.py b/mercurial/keepalive.py
--- a/mercurial/keepalive.py
+++ b/mercurial/keepalive.py
@@ -193,7 +193,7 @@
def close_all(self):
"""close all open connections"""
- for host, conns in pycompat.iteritems(self._cm.get_all()):
+ for host, conns in self._cm.get_all().items():
for h in conns:
self._cm.remove(h)
h.close()
To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list