bumped version to 0.5

This commit is contained in:
Brian Muller 2015-06-27 15:11:55 -04:00
parent 30dd82082c
commit 89f04cf558
2 changed files with 3 additions and 3 deletions

View File

@ -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))

View File

@ -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))