SYMPTOMS
On Ubuntu 6.0.6 with python2.4 Mailman cronjob tasks return the following warning:/var/lib/mailman/Mailman/Handlers/Scrubber.py:175: DeprecationWarning: get_type() deprecated; use get_content_type()
ctype = part.get_type(part.get_default_type())
CAUSE
Mailman uses the function that is deprecated in python2.4, so the warning is shown. This warning does not affect mailman functionality.RESOLUTION
As solution you can install the patch from Ubuntu bug tracking system, see https://bugs.launchpad.net/ubuntu/+source/mailman/+bug/25933 for more information. To install the patch use:# cd /var/lib/mailman/Mailman/Handlers
#wget --output-document patch.txt http://launchpadlibrarian.net/1512549/patch
# patch -p3 < patch.txt