##// END OF EJS Templates
mail: add a missing argument to properly override starttls...
Matt Harbison -
r51171:1c7453f2 default
parent child Browse files
Show More
@@ -54,7 +54,7 b' class STARTTLS(smtplib.SMTP):'
54 self._ui = ui
54 self._ui = ui
55 self._host = host
55 self._host = host
56
56
57 def starttls(self, keyfile=None, certfile=None):
57 def starttls(self, keyfile=None, certfile=None, context=None):
58 if not self.has_extn("starttls"):
58 if not self.has_extn("starttls"):
59 msg = b"STARTTLS extension not supported by server"
59 msg = b"STARTTLS extension not supported by server"
60 raise smtplib.SMTPException(msg)
60 raise smtplib.SMTPException(msg)
General Comments 0
You need to be logged in to leave comments. Login now