Show More
@@ -70,7 +70,6 class STARTTLS(smtplib.SMTP): | |||
|
70 | 70 | self.does_esmtp = 0 |
|
71 | 71 | return (resp, reply) |
|
72 | 72 | |
|
73 | if util.safehasattr(smtplib.SMTP, '_get_socket'): | |
|
74 | 73 |
|
|
75 | 74 |
|
|
76 | 75 | |
@@ -92,9 +91,6 if util.safehasattr(smtplib.SMTP, '_get_ | |||
|
92 | 91 |
|
|
93 | 92 |
|
|
94 | 93 |
|
|
95 | else: | |
|
96 | def SMTPS(sslkwargs, keyfile=None, certfile=None, **kwargs): | |
|
97 | raise error.Abort(_('SMTPS requires Python 2.6 or later')) | |
|
98 | 94 | |
|
99 | 95 | def _smtp(ui): |
|
100 | 96 | '''build an smtp connection and return a function to send mail''' |
General Comments 0
You need to be logged in to leave comments.
Login now