##// END OF EJS Templates
rcmail: pass smtplib.SMTP.sendmail to_addrs as list...
rcmail: pass smtplib.SMTP.sendmail to_addrs as list Passing it as a set worked ... but is apparently wrong. The documentation states it has to be a "list of addresses". Pytype warned: File "kallithea/lib/rcmail/smtp_mailer.py", line 99, in send: Function SMTP.sendmail was called with the wrong arguments [wrong-arg-types] Expected: (self, from_addr, to_addrs: Union[Sequence[str], str], ...) Actually passed: (self, from_addr, to_addrs: set, ...)
Mads Kiilerich -
r8380:9c408c0f default
Show More
Name Size Modified Last Commit Author
/ docs / usage
backup.rst Loading ...
customization.rst Loading ...
debugging.rst Loading ...
email.rst Loading ...
general.rst Loading ...
performance.rst Loading ...
statistics.rst Loading ...
troubleshooting.rst Loading ...
vcs_notes.rst Loading ...