##// 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 142 from __future__ import absolute_import
143 143
144 import email
144 import email.errors as emailerrors
145 145 import email.parser as emailparser
146 146 import fnmatch
147 147 import socket
@@ -153,7 +153,6 b' from mercurial import ('
153 153 logcmdutil,
154 154 mail,
155 155 patch,
156 pycompat,
157 156 registrar,
158 157 util,
159 158 )
@@ -162,11 +161,6 b' from mercurial.utils import ('
162 161 stringutil,
163 162 )
164 163
165 if pycompat.ispy3:
166 import email.errors as emailerrors
167 else:
168 emailerrors = email.Errors
169
170 164 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
171 165 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
172 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