mercurial/keepalive.py
branchstable
changeset 49542 8251f7cc787d
parent 49304 48f1b314056b
child 49543 76fbb1b6692a
--- a/mercurial/keepalive.py	Wed Nov 02 16:46:46 2022 -0400
+++ b/mercurial/keepalive.py	Tue Oct 18 11:54:58 2022 -0400
@@ -166,7 +166,9 @@
         if host:
             return list(self._hostmap[host])
         else:
-            return dict(self._hostmap)
+            return dict(
+                {h: list(conns) for (h, conns) in self._hostmap.items()}
+            )
 
 
 class KeepAliveHandler: