what we want, until python 2.5)
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import os
import stat
import sys
import os
import stat
return data
def parse_and_deliver(maildir, url, statedir):
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"]:
fp = feedparser.parse(url)
db = dbm.open(os.path.join(statedir, "seen"), "c")
for item in fp["items"]: