summaryrefslogtreecommitdiff
path: root/django/utils/cache.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-09-15 21:46:18 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-09-15 21:46:18 +0000
commit7325fbf4ff20f9b0f21d3a1aba1abaca78a765d7 (patch)
tree8276758a973d926f7fa43377b5ef4d07ed2eb517 /django/utils/cache.py
parent5ce2e6c2c827cf877f73bf0e42e6afb7e6a71ccf (diff)
downloaddjango-7325fbf4ff20f9b0f21d3a1aba1abaca78a765d7.tar.gz
queryset-refactor: Merged to [6250]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils/cache.py')
-rw-r--r--django/utils/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/cache.py b/django/utils/cache.py
index 2753d86949..2494d7839e 100644
--- a/django/utils/cache.py
+++ b/django/utils/cache.py
@@ -42,9 +42,9 @@ def patch_cache_control(response, **kwargs):
def dictitem(s):
t = s.split('=',1)
if len(t) > 1:
- return (t[0].lower().replace('-', '_'), t[1])
+ return (t[0].lower(), t[1])
else:
- return (t[0].lower().replace('-', '_'), True)
+ return (t[0].lower(), True)
def dictvalue(t):
if t[1] is True: