##// END OF EJS Templates
notify: just use email.errors...
Yuya Nishihara -
r40326:091f9b8a default
parent child Browse files
Show More
@@ -141,7 +141,7 b' web.baseurl'
141 '''
141 '''
142 from __future__ import absolute_import
142 from __future__ import absolute_import
143
143
144 import email
144 import email.errors as emailerrors
145 import email.parser as emailparser
145 import email.parser as emailparser
146 import fnmatch
146 import fnmatch
147 import socket
147 import socket
@@ -153,7 +153,6 b' from mercurial import ('
153 logcmdutil,
153 logcmdutil,
154 mail,
154 mail,
155 patch,
155 patch,
156 pycompat,
157 registrar,
156 registrar,
158 util,
157 util,
159 )
158 )
@@ -162,11 +161,6 b' from mercurial.utils import ('
162 stringutil,
161 stringutil,
163 )
162 )
164
163
165 if pycompat.ispy3:
166 import email.errors as emailerrors
167 else:
168 emailerrors = email.Errors
169
170 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
164 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
171 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
165 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
172 # be specifying the version(s) of Mercurial they are tested with, or
166 # be specifying the version(s) of Mercurial they are tested with, or
General Comments 0
You need to be logged in to leave comments. Login now