Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #20722 -- Fixed MemcachedCache backend get_many on Python 3.

  • Loading branch information...
commit 3c736207a37840109f16f004c343c77b5ee389b6 1 parent 57f190e
@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
@@ -86,7 +86,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.