Ticket #20722: 20722.diff
File 20722.diff, 593 bytes (added by , 11 years ago) |
---|
-
django/core/cache/backends/memcached.py
diff --git a/django/core/cache/backends/memcached.py b/django/core/cache/backends/memcached.py index 64d1c41d..3d92b95 100644
a b class BaseMemcachedCache(BaseCache): 86 86 self._cache.delete(key) 87 87 88 88 def get_many(self, keys, version=None): 89 new_keys = map(lambda x: self.make_key(x, version=version), keys)89 new_keys = list(map(lambda x: self.make_key(x, version=version), keys)) 90 90 ret = self._cache.get_multi(new_keys) 91 91 if ret: 92 92 _ = {}