changeset 19790:53f16f4aff33

mail: correct import of email module
author Augie Fackler <raf@durin42.com>
date Fri, 20 Sep 2013 10:16:02 -0400
parents b054a241257d
children f4b72cad29f8
files mercurial/mail.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/mail.py	Fri Sep 20 10:15:51 2013 -0400
+++ b/mercurial/mail.py	Fri Sep 20 10:16:02 2013 -0400
@@ -8,7 +8,7 @@
 from i18n import _
 import util, encoding, sslutil
 import os, smtplib, socket, quopri, time, sys
-import email.Header, email.MIMEText, email.Utils
+import email
 
 _oldheaderinit = email.Header.Header.__init__
 def _unifiedheaderinit(self, *args, **kw):