diff -r 649d3ac37a12 -r d783f945a701 mercurial/keepalive.py --- a/mercurial/keepalive.py Sun Oct 06 19:25:18 2019 -0400 +++ b/mercurial/keepalive.py Mon Oct 07 00:04:04 2019 -0400 @@ -194,7 +194,7 @@ def close_all(self): """close all open connections""" - for host, conns in self._cm.get_all().iteritems(): + for host, conns in pycompat.iteritems(self._cm.get_all()): for h in conns: self._cm.remove(h) h.close()