##// END OF EJS Templates
mail: drop explicit mail import required by Python 2.4...
Pierre-Yves David -
r25205:ff2ec757 default
parent child Browse files
Show More
@@ -9,10 +9,6 b' from i18n import _'
9 import util, encoding, sslutil
9 import util, encoding, sslutil
10 import os, smtplib, socket, quopri, time, sys
10 import os, smtplib, socket, quopri, time, sys
11 import email
11 import email
12 # On python2.4 you have to import these by name or they fail to
13 # load. This was not a problem on Python 2.7.
14 import email.Header
15 import email.MIMEText
16
12
17 _oldheaderinit = email.Header.Header.__init__
13 _oldheaderinit = email.Header.Header.__init__
18 def _unifiedheaderinit(self, *args, **kw):
14 def _unifiedheaderinit(self, *args, **kw):
General Comments 0
You need to be logged in to leave comments. Login now