Mercurial > public > mercurial-scm > hg-stable
diff mercurial/keepalive.py @ 49015:dea766fca7e1
keepalive: remove pycompat.iteritems()
Differential Revision: https://phab.mercurial-scm.org/D12329
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Feb 2022 11:10:27 -0700 |
parents | 62baa61efe8f |
children | 642e31cb55f0 |
line wrap: on
line diff
--- a/mercurial/keepalive.py Mon Feb 21 11:10:08 2022 -0700 +++ b/mercurial/keepalive.py Mon Feb 21 11:10:27 2022 -0700 @@ -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()