diff -r 6d891df43a5f -r 4dd7b28003d2 mercurial/keepalive.py --- 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()