Commit eb17f1bd authored by Carl Meyer's avatar Carl Meyer

Make CacheKey hashable in Python 3.

parent 8afccfd2
......@@ -37,6 +37,9 @@ class CacheKey(object):
def __unicode__(self):
return smart_text(self._key)
def __hash__(self):
return hash(self._key)
class CacheConnectionPool(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment