scraper: log.warn -> log.warning

log.warn was an unsupported alias
This commit is contained in:
Ricky Ramirez
2013-07-18 12:14:46 -07:00
committed by Chad Birch
parent 342ae0d7ca
commit 8b69aa1635

View File

@@ -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