[Mailman-Developers] Message.Message
Ricardo 'admindb' Kustner
ricardo@rixhq.nu
Tue, 15 Feb 2000 22:57:11 +0100
Hi,
It seems like nobody looked at the changes i've posted
for admindb.py cause i just found out that I made it more
difficult than necessary to seperate the message body from
the header :) This funcinality is already possible using
MM/python libs :
fp = open(os.path.join(mm_cfg.DATA_DIR, filename))
fullmsg = Message.Message(fp)
msg_header = string.join(fullmsg.headers, '')
msg_body = fullmsg.body
fp.close()
...on the bright side, I learned a bit more about python
and the MM code :)
oh i just realized, that this way the ADMINDB_PAGE_TEXT_LIMIT isn't
taken into account... :(
Ricardo.