Re: tmda-cgi: Message.get_type() in View.py
[email protected] (Jason R. Mastaler)
| Newsgroups | gmane.mail.spam.tmda.devel |
|---|---|
| Message-ID | <[email protected]> |
Jim Ramsay <[email protected]> writes: >> Review the attached diff and see if that's correct. It does allow >> tmda-cgi to work again (I tested). I also grepped through the >> tmda-cgi source for other deprecated methods >> (http://docs.python.org/lib/email-pkg-history.html) and didn't find >> any, so hopefully this is the only change that's required. > > Excellent, thanks! I've applied it and checked it in. Note that this won't create an incompatibility with older versions of TMDA since Message.get_content_type() has been around forever. But users of TMDA 1.1.8 (when I release it) and above will need to apply this patch to tmda-cgi, or upgrade to the next tmda-cgi release you make.