mercurial/keepalive.py
changeset 43106 d783f945a701
parent 43103 c95b2f40db7c
child 43117 8ff1ecfadcd1
--- 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()