switch to logging.warning to comply with deprecation warning

parent f367c87b
......@@ -41,6 +41,6 @@ def output(*args, feed=None, item=None, **kwargs):
item.get('link'), archive_location)
return True
else:
logging.warn('wayback machine failed to save URL %s, status %d',
item.get('link'), res.status_code) # noqa
logging.warning('wayback machine failed to save URL %s, status %d',
item.get('link'), res.status_code) # noqa
return False
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