mirror of
https://github.com/django/django.git
synced 2025-04-21 07:44:36 +00:00
i18n: removed debugging leftovers (thx. rjwittams)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9480908bfa
commit
ca3dbaacbb
@ -49,9 +49,7 @@ def patch_cache_control(response, **kwargs):
|
||||
return t[0] + '=' + str(t[1])
|
||||
|
||||
if response.has_header('Cache-Control'):
|
||||
print response['Cache-Control']
|
||||
cc = cc_delim_re.split(response['Cache-Control'])
|
||||
print cc
|
||||
cc = dict([dictitem(el) for el in cc])
|
||||
else:
|
||||
cc = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user