e-mail: properly handle no recipients when there is no email_to set When the configuration file does not contain a value for email_to, and no recipients are...

patrickdp committed on 2015-08-02 19:25:05
branch: default
tag: tip
changeset: 88a5fb51
e-mail: properly handle no recipients when there is no email_to set

When the configuration file does not contain a value for email_to, and no
recipients are specified in a call to send_email, recipients would be set to
    [None, admins]
which causes an error when logging this list as ' '.join(recipients).

 M kallithea/lib/celerylib/tasks.py (10 lines added, 3 lines removed)
 M kallithea/tests/other/test_mail.py (22 lines added, 0 lines removed)
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to