summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2017-10-30 15:25:33 +0000
committerTim Graham <timograham@gmail.com>2017-10-30 12:13:17 -0400
commitabacd09f07f4bb0aa1a3a32bc6e3c3570fa76912 (patch)
tree20c25fecc64459074d0b276fe59051c894966a9c /django
parent03049fb8d96ccd1f1ed0285486103542de42faba (diff)
Refs #27318 -- Made DummyCache.set_many() return a list for consistency with other backends.
Diffstat (limited to 'django')
-rw-r--r--django/core/cache/backends/dummy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/cache/backends/dummy.py b/django/core/cache/backends/dummy.py
index d1aea0a325..7957df8072 100644
--- a/django/core/cache/backends/dummy.py
+++ b/django/core/cache/backends/dummy.py
@@ -34,7 +34,7 @@ class DummyCache(BaseCache):
return False
def set_many(self, data, timeout=DEFAULT_TIMEOUT, version=None):
- pass
+ return []
def delete_many(self, keys, version=None):
pass