[ mailman-Bugs-1397214 ] Cron DeprecationWarning with Python 2.4

SourceForge.net noreply at sourceforge.net
Wed Jan 4 21:53:02 CET 2006


Bugs item #1397214, was opened at 2006-01-04 21:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1397214&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: mail delivery
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Schoinobates Volans (schoinobates)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cron DeprecationWarning with Python 2.4

Initial Comment:
This is Debian bug #341699: http://bugs.debian.org/341699

The cron script senddigests spews:
 DeprecationWarning: get_type() deprecated; use
get_content_type()
   ctype = part.get_type(part.get_default_type())

Here's a patch that shuts up the warning, as you want
to keep Python 2.1 compatibility (get_content_type()
appeared in Python 2.2.2).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1397214&group_id=103


More information about the Mailman-coders mailing list