Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…on 3.

Backport of 3c73620 from master
  • Loading branch information...
commit 7788c7189036bcd78692aaae1dd4260d7a7563bf 1 parent e2c1e9e
Tim Graham authored July 09, 2013
2  django/core/cache/backends/memcached.py
@@ -86,7 +86,7 @@ def delete(self, key, version=None):
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 = [self.make_key(x, version=version) for x in keys]
90 90
         ret = self._cache.get_multi(new_keys)
91 91
         if ret:
92 92
             _ = {}

0 notes on commit 7788c71

Please sign in to comment.
Something went wrong with that request. Please try again.