Fixed compliance to latest flake8.

This commit is contained in:
Benoît Bryon 2014-03-31 16:53:17 +02:00
parent 5c92f5ac87
commit 5c262dfa52

View file

@ -158,7 +158,7 @@ class DownloadResponse(StreamingHttpResponse):
# Apply default headers.
for header, value in self.default_headers.items():
if not header in self:
if header not in self:
self[header] = value # Does self support setdefault?
@property