Commit c8b7bcbe authored by Stefan H. Holek's avatar Stefan H. Holek

Replace a left-over has_key with in operator.

parent 05e8fac4
......@@ -69,7 +69,7 @@ class BaseResponse:
cookie in the Response object.
'''
cookies = self.cookies
if cookies.has_key(name):
if name in cookies:
cookie = cookies[name]
else:
cookie = cookies[name] = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment