Commit 4dfdc420 authored by Ross Jones's avatar Ross Jones
Browse files

Add logging so we are clear when we have skipped content

parent fe069a7f
......@@ -316,6 +316,7 @@ def download(context, resource, url_timeout=30,
if 'previous' in context:
if 'etag' in res.headers and context['previous'].etag == res.headers['etag']:"ETAG matches, not downloading content")
raise NotChanged("etag suggests content has not changed")
if not res.ok: # i.e. 404 or something
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