You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def hashi(self, key, replica=0):
"""Returns a ketama compatible hash from the given key."""
dh = self._listbytes(md5(str(key).encode("utf-8")).digest())
...
hashi(b'abc') returns in dh=md5(b"b'abc'") instead of dh=md5(b'abc').
The text was updated successfully, but these errors were encountered:
hashi(b'abc')
returns indh=md5(b"b'abc'")
instead ofdh=md5(b'abc')
.The text was updated successfully, but these errors were encountered: