# HG changeset patch # User Gregory Szorc # Date 2022-02-21 18:10:27 # Node ID dea766fca7e148c4ed1d1eed0387b2f20013f0be # Parent 428177ad70b0d21bd4372ef4ecc1ad86aee8ecd1 keepalive: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12329 diff --git a/mercurial/keepalive.py b/mercurial/keepalive.py --- a/mercurial/keepalive.py +++ b/mercurial/keepalive.py @@ -193,7 +193,7 @@ class KeepAliveHandler(object): 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()