projects
/
quix0rs-apt-p2p.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76fa904
)
fixed buglet
author
aaronsw
<aaronsw>
Thu, 28 Nov 2002 19:37:46 +0000
(19:37 +0000)
committer
aaronsw
<aaronsw>
Thu, 28 Nov 2002 19:37:46 +0000
(19:37 +0000)
ktable.py
patch
|
blob
|
history
diff --git
a/ktable.py
b/ktable.py
index 601afe69a11a419dfc35f8daa7a79a451feaf51b..5a906fa235b2ed624545cef2b93367eb6245addd 100644
(file)
--- a/
ktable.py
+++ b/
ktable.py
@@
-40,7
+40,7
@@
class KTable:
i = self._bucketIndexForInt(int)
# if this node is already in our table then return it
- if int in self.buckets[i].l
.index(int)
: return [int]
+ if int in self.buckets[i].l: return [int]
nodes = nodes + self.buckets[i].l
if len(nodes) < K: