Skip to content

Commit

Permalink
grammar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaemming committed Apr 22, 2012
1 parent df21660 commit 7d5b781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dht/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]


Expand Down

0 comments on commit 7d5b781

Please sign in to comment.