From 79abf12671ca1edc7d95e7f1aaa9c4b45a7de7b9 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Fri, 21 Dec 2007 13:29:17 +0000 Subject: [PATCH] Remove references to mailbox module (doesn't let you write to maildir, which is what we want, until python 2.5) --- rss2maildir.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rss2maildir.py b/rss2maildir.py index 2d26217..02bd392 100755 --- a/rss2maildir.py +++ b/rss2maildir.py @@ -17,7 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -import mailbox import sys import os import stat @@ -179,7 +178,6 @@ class HTML2Text(HTMLParser): return data def parse_and_deliver(maildir, url, statedir): - md = mailbox.Maildir(maildir) fp = feedparser.parse(url) db = dbm.open(os.path.join(statedir, "seen"), "c") for item in fp["items"]: -- 2.39.5