[Bug 350161] [NEW] getmail4 uses deprecated pyhton module

Thomas Neumann tneumann at users.sourceforge.net
Sat Mar 28 08:48:24 UTC 2009


Public bug reported:

Binary package hint: getmail4

getmail4 uses the deprecated "sets" module, which triggers a warning in
jaunty. Executing getmail produces the warning

/usr/share/getmail4/getmailcore/baseclasses.py:26: DeprecationWarning: the sets module is deprecated
  import sets

which is quite inconvenient when calling getmail from a cron job.

This issues has been discussed here

http://news.gmane.org/find-
root.php?message_id=%3c20090307024237.GB25606%40kuro%2ddesktop%3e

together with a proposed patch.that preserves compatibility with older
Python versions. A 2.6 only patch is proposed here

http://www.oldspeak.org/2008/11/02/getmail-484-with-python-26
-deprecated-imports

** Affects: getmail4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
getmail4 uses deprecated pyhton module
https://bugs.launchpad.net/bugs/350161
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list