From 09b7151b6ff2ab2eb9154a1d30d94b85bfa5e3d8 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 8 Dec 2008 17:16:34 -0700 Subject: [PATCH] introducer: fix bug in recent simplification caught by Brian's sharp code-reviewing eye --- src/allmydata/introducer/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/introducer/client.py b/src/allmydata/introducer/client.py index 6abe5bc4..7c7e8959 100644 --- a/src/allmydata/introducer/client.py +++ b/src/allmydata/introducer/client.py @@ -297,7 +297,7 @@ class IntroducerClient(service.Service, Referenceable): def get_peers(self, service_name): """Return a set of (peerid, versioned-rref) tuples.""" - return frozenset([(pid, r) for (pid, servname, r) in self._connections if servname == servname]) + return frozenset([(peerid, r) for (peerid, servname, r) in self._connections if servname == service_name]) def get_permuted_peers(self, service_name, key): """Return an ordered list of (peerid, versioned-rref) tuples.""" -- 2.45.2