[rtems-source-builder commit] sb/setbuilder: Check is mail is valid.

Chris Johns chrisj at rtems.org
Thu Aug 29 23:17:27 UTC 2019


Module:    rtems-source-builder
Branch:    master
Commit:    8bedf509be07a4a14257b2135192ff3c01fac13a
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=8bedf509be07a4a14257b2135192ff3c01fac13a

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Aug 29 13:28:19 2019 +1000

sb/setbuilder: Check is mail is valid.

---

 source-builder/sb/setbuilder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index 2dbbfbf..7443865 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -616,7 +616,7 @@ class buildset:
                 mail_report = True
             if interrupted or self.macros.defined('mail_disable'):
                 mail_report = False
-            if mail_report:
+            if mail_report and mail is not None:
                 if self.installing():
                     self.write_mail_header('Build Time: %s' % (build_time), True)
                     self.write_mail_header('', True)



More information about the vc mailing list