Mercurial > kallithea
view requirements.txt @ 8629:9c408c0f1c9b
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, ...)
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 18 Aug 2020 21:36:26 +0200 |
parents | 941548131765 |
children |
line wrap: on
line source
# requirements.txt file for use as "pip install -r requirements.txt" as a # readthedocs compatible alternative to "pip install -e ." which is a working # alternative to "setup.py develop" which doesn't work with Mercurial 3.7 .