##// END OF EJS Templates
mail: use absolute_import
Gregory Szorc -
r25957:ae21d51b default
parent child Browse files
Show More
@@ -5,10 +5,22 b''
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7
7
8 from i18n import _
8 from __future__ import absolute_import
9 import util, encoding, sslutil
9
10 import os, smtplib, socket, quopri, time, sys
11 import email
10 import email
11 import os
12 import quopri
13 import smtplib
14 import socket
15 import sys
16 import time
17
18 from .i18n import _
19 from . import (
20 encoding,
21 sslutil,
22 util,
23 )
12
24
13 _oldheaderinit = email.Header.Header.__init__
25 _oldheaderinit = email.Header.Header.__init__
14 def _unifiedheaderinit(self, *args, **kw):
26 def _unifiedheaderinit(self, *args, **kw):
General Comments 0
You need to be logged in to leave comments. Login now