##// END OF EJS Templates
py3: use socket.makefile() instead of dropped smtplib.SSLFakeFile...
Denis Laxalde -
r43441:54b06bec default
parent child Browse files
Show More
@@ -61,7 +61,7 b' class STARTTLS(smtplib.SMTP):'
61 61 ui=self._ui,
62 62 serverhostname=self._host,
63 63 )
64 self.file = smtplib.SSLFakeFile(self.sock)
64 self.file = self.sock.makefile("rb")
65 65 self.helo_resp = None
66 66 self.ehlo_resp = None
67 67 self.esmtp_features = {}
General Comments 0
You need to be logged in to leave comments. Login now