# HG changeset patch # User Pierre-Yves David # Date 1431985592 18000 # Node ID ff2ec757aacbc3addfa7c4df2b014e606e8dd7b9 # Parent 0a48380b61fb51f64650407eb2cef378deec7ffb mail: drop explicit mail import required by Python 2.4 He's dead, Jim. diff -r 0a48380b61fb -r ff2ec757aacb mercurial/mail.py --- 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):