From 8b69aa163567fa868b09700e4fa1c475ee8f2e44 Mon Sep 17 00:00:00 2001 From: Ricky Ramirez Date: Thu, 18 Jul 2013 12:14:46 -0700 Subject: [PATCH] scraper: log.warn -> log.warning log.warn was an unsupported alias --- r2/r2/lib/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/scraper.py b/r2/r2/lib/scraper.py index 5bf816702..766b9dd21 100644 --- a/r2/r2/lib/scraper.py +++ b/r2/r2/lib/scraper.py @@ -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