Skip to content

Commit

Permalink
2.3 Regression: generator comprehensions not availible until Python 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dimo414 committed Aug 6, 2012
1 parent 069827c commit 0d6e4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/webapi.py
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 0d6e4a8

Please sign in to comment.