Permalink
Browse files

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

  • Loading branch information...
1 parent 57f190e commit 3c736207a37840109f16f004c343c77b5ee389b6 @timgraham timgraham committed Jul 9, 2013
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:
_ = {}

0 comments on commit 3c73620

Please sign in to comment.