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:
53349c5
)
Client.get_permuted_peers: use self.nodeid now that it's fixed
author
Brian Warner
<warner@lothar.com>
Sun, 12 Aug 2007 23:24:51 +0000
(16:24 -0700)
committer
Brian Warner
<warner@lothar.com>
Sun, 12 Aug 2007 23:24:51 +0000
(16:24 -0700)
src/allmydata/client.py
patch
|
blob
|
history
diff --git
a/src/allmydata/client.py
b/src/allmydata/client.py
index 949e6dc7b19db81a3bd92641ca2911f6fcb6633a..a0baa8ed3a7d2b6b5a5c331b12c12e1cad87bcc3 100644
(file)
--- a/
src/allmydata/client.py
+++ b/
src/allmydata/client.py
@@
-161,10
+161,9
@@
class Client(node.Node, Referenceable):
@return: list of (permuted-peerid, peerid, connection,)
"""
results = []
- myid = b32decode(self.tub.tubID.upper())
for peerid, connection in self.introducer_client.get_all_peers():
assert isinstance(peerid, str)
- if not include_myself and peerid ==
my
id:
+ if not include_myself and peerid ==
self.node
id:
self.log("get_permuted_peers: removing myself from the list")
continue
permuted = bytes_to_long(sha.new(key + peerid).digest())