Ticket #20722: 20722.diff

File 20722.diff, 593 bytes (added by Tim Graham, 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):  
    8686        self._cache.delete(key)
    8787
    8888    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))
    9090        ret = self._cache.get_multi(new_keys)
    9191        if ret:
    9292            _ = {}
Back to Top