From 2a30090b87bb4983a1538da72af984d91080c289 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 17 Dec 2015 08:45:26 -0800 Subject: [PATCH] feed: Fix 'feed' -> 'self' reference in check_for_errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 'feed' was undefined. Reported-by: Andrés Martano Signed-off-by: W. Trevor King --- rss2email/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss2email/feed.py b/rss2email/feed.py index a5d76ae..655acce 100644 --- a/rss2email/feed.py +++ b/rss2email/feed.py @@ -436,7 +436,7 @@ def _check_for_errors(self, parsed): status in [200, 302] and not parsed.entries and not version): - raise _error.ProcessingError(parsed=parsed, feed=feed) + raise _error.ProcessingError(parsed=parsed, feed=self) def _html2text(self, html, baseurl='', default=None): self.config.setup_html2text(section=self.section)