Article ID: 3538, created on Dec 28, 2007, last review on Apr 18, 2012

  • Applies to:
  • Plesk 8.x for Linux/Unix


On Ubuntu 6.0.6 with python2.4 Mailman cronjob tasks return the following warning:
/var/lib/mailman/Mailman/Handlers/ DeprecationWarning: get_type() deprecated; use get_content_type()
ctype = part.get_type(part.get_default_type())


Mailman uses the function that is deprecated in python2.4, so the warning is shown. This warning does not affect mailman functionality.


As solution you can install the patch from Ubuntu bug tracking system, see for more information. To install the patch use:
# cd /var/lib/mailman/Mailman/Handlers
#wget --output-document patch.txt
# patch -p3 < patch.txt

b8ef5052d936e902043e41759118114e 29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF