tags 341699 +confirmed
thanks

On Fri, Dec 02, 2005 at 12:13:00PM +0100, Matthias Klose wrote:

> Subject: Re: Cron <[EMAIL PROTECTED]> [ -x /usr/lib/mailman/cron/senddigests 
> ] && /usr/lib/mailman/cron/senddigests
> Cron Daemon writes:
>> /var/lib/mailman/Mailman/Handlers/Scrubber.py:175: DeprecationWarning: 
>> get_type() deprecated; use get_content_type()
>>   ctype = part.get_type(part.get_default_type())

Hmm... I'm hesitating between just shutting up the DeprecationWarnings
and changing the code... Thanks for the bug report anyway.

Note to self: Using get_content_type() will be completely safe, it
does the same as part.get_type(part.get_default_type()) (fallback to
get_default_type()). It exists since Python 2.2.2. Thus it will break
backports to woody (we probably don't care).

-- 
Lionel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to