Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.5.x] Fixed #20722 -- Fixed MemcachedCache backend get_many on Pyth…

…on 3.

Backport of 3c73620 from master
  • Loading branch information...
commit 7bbf6971329d7fdd5343895c7e8c292f7e64d95e 1 parent 5192dbb
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/cache/backends/memcached.py
View
2  django/core/cache/backends/memcached.py
@@ -75,7 +75,7 @@ def delete(self, key, version=None):
self._cache.delete(key)
def get_many(self, keys, version=None):
- new_keys = map(lambda x: self.make_key(x, version=version), keys)
+ new_keys = [self.make_key(x, version=version) for x in keys]
ret = self._cache.get_multi(new_keys)
if ret:
_ = {}
Please sign in to comment.
Something went wrong with that request. Please try again.