Add rss2email v2.22 v2.22
authorAaron Swartz <me@aaronsw.com>
Thu, 29 Jan 2004 12:02:00 +0000 (12:02 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 15 Feb 2013 16:37:52 +0000 (11:37 -0500)
Fix for config file bug.

Downloaded from:

  http://web.archive.org/web/20040416223231/http://www.aaronsw.com/2002/rss2email/rss2email-2.22.py

rss2email.py

index f1451411cba7bd5aca353367bc1db3d09fcb9a5c..29d937643836e0d2584c576bbc25790647556114 100644 (file)
@@ -12,7 +12,7 @@ Usage: python rss2email.py feedfile action [options]
        list
        delete n
 """
-__version__ = "2.21"
+__version__ = "2.22"
 __author__ = "Aaron Swartz (me@aaronsw.com)"
 __copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2."
 ___contributors__ = ["Dean Jackson (dino@grorg.org)", 
@@ -51,10 +51,7 @@ def send(fr, to, message):
 import sys
 sys.path.append(".")
 try:
-       import config
-       DEFAULT_FROM = config.DEFAULT_FROM
-       TRUST_GUID = config.TRUST_GUID
-       TREAT_DESCRIPTION_AS_HTML = config.TREAT_DESCRIPTION_AS_HTML
+       from config import *
 except:
        pass