Mercurial > public > mercurial-scm > hg
diff mercurial/mail.py @ 25205:ff2ec757aacb
mail: drop explicit mail import required by Python 2.4
He's dead, Jim.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 18 May 2015 16:46:32 -0500 |
parents | a4af6fd99fb0 |
children | 9d1c61715939 |
line wrap: on
line diff
--- a/mercurial/mail.py Mon May 18 16:33:57 2015 -0500 +++ b/mercurial/mail.py Mon May 18 16:46:32 2015 -0500 @@ -9,10 +9,6 @@ import util, encoding, sslutil import os, smtplib, socket, quopri, time, sys import email -# On python2.4 you have to import these by name or they fail to -# load. This was not a problem on Python 2.7. -import email.Header -import email.MIMEText _oldheaderinit = email.Header.Header.__init__ def _unifiedheaderinit(self, *args, **kw):