From: Aaron Swartz Date: Tue, 6 Jul 2004 12:00:00 +0000 (+0000) Subject: Add rss2email v2.511 X-Git-Tag: v2.511 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=452c9b94cf905d63a219edcb7ea06e0ed9f3ebbb;p=rss2email.git Add rss2email v2.511 Typo bug with emails. Tx daniel. Downloaded from: http://web.archive.org/web/20040825081604/http://www.aaronsw.com/2002/rss2email/rss2email-2.511.py --- diff --git a/rss2email.py b/rss2email.py index cddd7bf..0ee6aca 100644 --- a/rss2email.py +++ b/rss2email.py @@ -10,7 +10,7 @@ Usage: list delete n """ -__version__ = "2.51" +__version__ = "2.511" __author__ = "Aaron Swartz (me@aaronsw.com)" __copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2." ___contributors__ = ["Dean Jackson (dino@grorg.org)", @@ -241,7 +241,7 @@ def unlock(feeds, feedfileObject): ### Program Functions ### def add(*args): - if len(args) == 2 and contains(args[1], '@') and not contain(args[1], '://'): + if len(args) == 2 and contains(args[1], '@') and not contains(args[1], '://'): urls, to = [args[0]], args[1] else: urls, to = args, None