diff mercurial/mail.py @ 19790:53f16f4aff33

mail: correct import of email module
author Augie Fackler <raf@durin42.com>
date Fri, 20 Sep 2013 10:16:02 -0400
parents 601c1e226889
children c80feeb715d1
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):