summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/setbuilder.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-10-27 17:34:00 +1100
committerChris Johns <chrisj@rtems.org>2017-10-27 17:34:00 +1100
commit70e3e5e115ce586c61840fbbfd00e30ad57aad0d (patch)
treee458cc56b6e4d4dc026415619e88dd0f7d60ef02 /source-builder/sb/setbuilder.py
parentsb: Provide a more detail email message. (diff)
downloadrtems-source-builder-70e3e5e115ce586c61840fbbfd00e30ad57aad0d.tar.bz2
sb: Set the to email address to build@rtems.org.
- Fix a minor bug in the to addr processing. Update #3210
Diffstat (limited to 'source-builder/sb/setbuilder.py')
-rw-r--r--source-builder/sb/setbuilder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index 365fecf..9851785 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -527,8 +527,9 @@ def run():
if to_addr is not None:
mail['to'] = to_addr[1]
else:
- mail['to'] = pts.defaults.expand('%{_mail_tools_to}')
+ mail['to'] = opts.defaults.expand('%{_mail_tools_to}')
mail['from'] = mail['mail'].from_address()
+ print(mail)
log.notice('RTEMS Source Builder - Set Builder, %s' % (version.str()))
opts.log_info()
if not check.host_setup(opts):