projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84581f
)
introducer: fix bug in recent simplification caught by Brian's sharp code-reviewing eye
author
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 9 Dec 2008 00:16:34 +0000
(17:16 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 9 Dec 2008 00:16:34 +0000
(17:16 -0700)
src/allmydata/introducer/client.py
patch
|
blob
|
history
diff --git
a/src/allmydata/introducer/client.py
b/src/allmydata/introducer/client.py
index 6abe5bc4b0134a5f0ef209e8817c992da80de9e3..7c7e8959d3de3fe1b488cab401345b03637ba5fa 100644
(file)
--- 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([(p
id, r) for (pid, servname, r) in self._connections if servname == serv
name])
+ return frozenset([(p
eerid, 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."""