From: Brett Parker Date: Fri, 21 Dec 2007 13:29:17 +0000 (+0000) Subject: Remove references to mailbox module (doesn't let you write to maildir, which is X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/commitdiff_plain/79abf12671ca1edc7d95e7f1aaa9c4b45a7de7b9 Remove references to mailbox module (doesn't let you write to maildir, which is what we want, until python 2.5) --- 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"]: