diff options
author | Alex White <alex.white@oarcorp.com> | 2021-04-12 13:45:10 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-12-16 15:26:39 -0600 |
commit | 56779ecee295aa54f397438b98d832de04e96862 (patch) | |
tree | eba53cdacea7573dc9a4c842142a96ab9a1cc9d1 | |
parent | trace: Use c++14 instead of c++11 if possible (diff) | |
download | rtems-tools-56779ecee295aa54f397438b98d832de04e96862.tar.bz2 |
rtemstoolkit/mailer.py: Return full smtp-host arg value
This fixes mail.smtp_host() so that it returns the full argument value
rather than just the second character.
Updates #4553
-rw-r--r-- | rtemstoolkit/mailer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/mailer.py b/rtemstoolkit/mailer.py index f8f813c..3ea9d98 100644 --- a/rtemstoolkit/mailer.py +++ b/rtemstoolkit/mailer.py @@ -123,7 +123,7 @@ class mail: def smtp_host(self): host = self._get_arg('--smtp-host') if host is not None: - return host[1] + return host if self._args_are_macros(): host = self.opts.defaults.get_value('%{_mail_smtp_host}') if host is not None: |