Ticket #6507: __init__.patch
File __init__.patch, 545 bytes (added by , 16 years ago) |
---|
-
__init__.py
256 256 c.load(cookie) 257 257 except CookieError: 258 258 # Invalid cookie 259 return {} 259 # return {} 260 pass 260 261 261 262 cookiedict = {} 262 263 for key in c.keys(): 263 cookiedict[key] = c.get(key).value 264 try: 265 cookiedict[key] = c.get(key).value 266 except: 267 pass 264 268 return cookiedict 265 269 266 270 class HttpResponse(object):