Skip to content

Commit

Permalink
"Merge pull request #434 from chrishaines/py3-url-hunk\n\nCompatibili…
Browse files Browse the repository at this point in the history
…ty with python3 urllib."
  • Loading branch information
miracle2k committed Dec 19, 2015
2 parents dab668a + f24e4ea commit 792ac80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webassets/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def data(self):
if self.env and self.env.cache:
self.env.cache.set(
('url', 'headers', self.url),
(response.headers.getheader("ETag"),
response.headers.getheader("Last-Modified")))
(response.headers.get("ETag"),
response.headers.get("Last-Modified")))
self.env.cache.set(('url', 'contents', self.url), self._data)
return self._data

Expand Down

0 comments on commit 792ac80

Please sign in to comment.