mercurial/keepalive.py
changeset 7622 4dd7b28003d2
parent 6470 ac0bcd951c2c
child 7781 a45206455d85
--- a/mercurial/keepalive.py	Mon Jan 12 09:07:02 2009 +0100
+++ b/mercurial/keepalive.py	Mon Jan 12 09:16:03 2009 +0100
@@ -197,7 +197,7 @@
 
     def close_all(self):
         """close all open connections"""
-        for host, conns in self._cm.get_all().items():
+        for host, conns in self._cm.get_all().iteritems():
             for h in conns:
                 self._cm.remove(h)
                 h.close()