Ticket #4071: 2django_cache.diff
File 2django_cache.diff, 566 bytes (added by , 17 years ago) |
---|
-
django/utils/cache.py
39 39 def dictitem(s): 40 40 t = s.split('=',1) 41 41 if len(t) > 1: 42 return (t[0].lower() .replace('-', '_'), t[1])42 return (t[0].lower(), t[1]) 43 43 else: 44 return (t[0].lower() .replace('-', '_'), True)44 return (t[0].lower(), True) 45 45 46 46 def dictvalue(t): 47 47 if t[1] == True: