Commit 419727f9 authored by Julien Muchembled's avatar Julien Muchembled Committed by Aurel

fixup! MailHost: Set SMTP socket timeout to 16s (#20161019-4A3BD2)

See commit ec3c9cbc.
parent 8f2334e8
......@@ -39,7 +39,7 @@ MailBase__makeMailer = MailBase._makeMailer
def _makeMailer(self):
""" Create a SMTPMailer """
smtp_mailer = MailBase__makeMailer(self)
smtp_mailer.SMTP = partial(smtp_mailer.smtp, timeout=self.smtp_socket_timeout)
smtp_mailer.smtp = partial(smtp_mailer.smtp, timeout=self.smtp_socket_timeout)
return smtp_mailer
MailBase._makeMailer = _makeMailer
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment