Skip to content
Browse files

grammar fix

  • Loading branch information...
1 parent df21660 commit 7d5b781ba38a4b8fbf15b60afa7e31e4d720d9fc @tkaemming committed Apr 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 dht/cluster.py
View
4 dht/cluster.py
@@ -30,9 +30,9 @@ def location(self, key):
return last(takewhile(lambda pair: pair[0] <= hashed,
self.members.items()))[1]
except ValueError:
- # "wrap around" the ring of nodes to the last node if no nodes
+ # "wrap around" the ring of nodes to the last node if no nodes
# have a hashed value that is lower than or equal to the hashed
- # value of any node
+ # value of the key
return self.members.values()[-1]

0 comments on commit 7d5b781

Please sign in to comment.
Something went wrong with that request. Please try again.