summaryrefslogtreecommitdiff
path: root/django/utils/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/cache.py')
-rw-r--r--django/utils/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/cache.py b/django/utils/cache.py
index d4574217f4..cf797d0279 100644
--- a/django/utils/cache.py
+++ b/django/utils/cache.py
@@ -78,7 +78,7 @@ def patch_cache_control(response, **kwargs):
elif "public" in cc and "private" in kwargs:
del cc["public"]
- for (k, v) in kwargs.items():
+ for k, v in kwargs.items():
directive = k.replace("_", "-")
if directive == "no-cache":
# no-cache supports multiple field names.