bumped version to 0.5
This commit is contained in:
parent
30dd82082c
commit
89f04cf558
@ -1,5 +1,5 @@
|
||||
"""
|
||||
Kademlia is a Python implementation of the Kademlia protocol for `Twisted <http://twistedmatrix.com>`_.
|
||||
"""
|
||||
version_info = (0, 4)
|
||||
version_info = (0, 5)
|
||||
version = '.'.join(map(str, version_info))
|
||||
|
@ -94,7 +94,7 @@ class NodeHeap(object):
|
||||
nodes = [nodes]
|
||||
|
||||
for node in nodes:
|
||||
if node not in self:
|
||||
if node not in self:
|
||||
distance = self.node.distanceTo(node)
|
||||
heapq.heappush(self.heap, (distance, node))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user