rss2email: fix Feed._validate_email signature to include self.
authorW. Trevor King <wking@tremily.us>
Sat, 20 Oct 2012 14:24:55 +0000 (10:24 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Oct 2012 14:24:55 +0000 (10:24 -0400)
rss2email.py

index fc87a838a770190e7a55ebf943fb6d35dc9ef7c2..255cd33d9cde7ad3821117074d2b0e9dc26d0f63 100755 (executable)
@@ -993,7 +993,7 @@ class Feed (object):
                 parts.append(feed.publisher_detail.name)
         return _html2text.unescape(''.join(parts))
 
-    def _validate_email(email, default=None):
+    def _validate_email(self, email, default=None):
         """Do a basic quality check on email address
 
         Return `default` if the address doesn't appear to be