mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 16:58:21 -05:00
scraper: log.warn -> log.warning
log.warn was an unsupported alias
This commit is contained in:
committed by
Chad Birch
parent
342ae0d7ca
commit
8b69aa1635
@@ -682,7 +682,7 @@ class OEmbed(Scraper):
|
||||
#Either a 404 or 500.
|
||||
if not self.content:
|
||||
#raise ValueError('ISSUE CALLING %s' %api_url)
|
||||
log.warn('oEmbed call (%s) failed to return content for %s'
|
||||
log.warning('oEmbed call (%s) failed to return content for %s'
|
||||
%(api_url, self.url))
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user