projects
/
rss2email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e598ba
)
rss2email: fix Feed._validate_email signature to include self.
author
W. Trevor King
<wking@tremily.us>
Sat, 20 Oct 2012 14:24:55 +0000
(10:24 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sat, 20 Oct 2012 14:24:55 +0000
(10:24 -0400)
rss2email.py
patch
|
blob
|
history
diff --git
a/rss2email.py
b/rss2email.py
index fc87a838a770190e7a55ebf943fb6d35dc9ef7c2..255cd33d9cde7ad3821117074d2b0e9dc26d0f63 100755
(executable)
--- a/
rss2email.py
+++ b/
rss2email.py
@@
-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