##// END OF EJS Templates
mail: stop using the smtplib.SSLFakeFile and use socket.socket.makefile...
Augie Fackler -
r39061:a5e70c14 default
parent child Browse files
Show More
@@ -79,7 +79,7 b' class SMTPS(smtplib.SMTP):'
79 self.keyfile, self.certfile,
79 self.keyfile, self.certfile,
80 ui=self._ui,
80 ui=self._ui,
81 serverhostname=self._host)
81 serverhostname=self._host)
82 self.file = smtplib.SSLFakeFile(new_socket)
82 self.file = new_socket.makefile(r'rb')
83 return new_socket
83 return new_socket
84
84
85 def _pyhastls():
85 def _pyhastls():
General Comments 0
You need to be logged in to leave comments. Login now