build-many-glibcs: don't crash if email is not configured
commitf0166c1643038e0ca42d300ddae36c00f400f4cf
authorZack Weinberg <zackw@panix.com>
Thu, 16 Feb 2017 21:57:35 +0000 (16 16:57 -0500)
committerZack Weinberg <zackw@panix.com>
Fri, 17 Feb 2017 00:04:11 +0000 (16 19:04 -0500)
tree5195821eda43d6bc8e2429a07d33761f1ba10c30
parentceaa98897cb717685bb3b51a81d733b64340bb19
build-many-glibcs: don't crash if email is not configured

The 'bot-cycle' action for build-many-glibcs is a convenient way to
not have to remember all the steps in keeping a many-glibcs tree up
to date ... or it would be, if the script could send mail _optionally_.
Make it so by skipping the mail step if mail isn't configured.

* scripts/build-many-glibcs.py (bot_build_mail):  If the
bot_config does not contain all of the necessary email-
related settings, just print a warning and continue.
ChangeLog
scripts/build-many-glibcs.py