public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r14458 - main/trunk/pym/portage
@ 2009-09-28 20:37 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-09-28 20:37 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-09-28 20:37:20 +0000 (Mon, 28 Sep 2009)
New Revision: 14458

Modified:
   main/trunk/pym/portage/mail.py
Log:
Bug #286780 - Fix email.MIME* imports to use email.mime.* (works with python
2.6 and python 3). Thanks to Hanno Meyer-Thurow <h.mth@web.de> for this patch.


Modified: main/trunk/pym/portage/mail.py
===================================================================
--- main/trunk/pym/portage/mail.py	2009-09-28 20:32:37 UTC (rev 14457)
+++ main/trunk/pym/portage/mail.py	2009-09-28 20:37:20 UTC (rev 14458)
@@ -3,9 +3,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-from email.MIMEText import MIMEText as TextMessage
-from email.MIMEMultipart import MIMEMultipart as MultipartMessage
-from email.MIMEBase import MIMEBase as BaseMessage
+from email.mime.text import MIMEText as TextMessage
+from email.mime.multipart import MIMEMultipart as MultipartMessage
+from email.mime.base import MIMEBase as BaseMessage
 from email.header import Header
 import smtplib
 import socket




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-28 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 20:37 [gentoo-commits] portage r14458 - main/trunk/pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox