Permalink
Browse files

2.3 Regression: generator comprehensions not availible until Python 2.4

  • Loading branch information...
1 parent 069827c commit 0d6e4a83113298724450276910f1c8745a639156 @dimo414 dimo414 committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/webapi.py
View
@@ -422,7 +422,7 @@ def parse_cookies(http_cookie):
cookie.load(attr_value)
except Cookie.CookieError:
pass
- cookies = dict((k, urllib.unquote(v.value)) for k, v in cookie.iteritems())
+ cookies = dict([(k, urllib.unquote(v.value)) for k, v in cookie.iteritems()])
else:
# HTTP_COOKIE doesn't have quotes, use fast cookie parsing
cookies = {}

0 comments on commit 0d6e4a8

Please sign in to comment.