Changeset 56779ec in rtems-tools


Ignore:
Timestamp:
04/12/21 18:45:10 (20 months ago)
Author:
Alex White <alex.white@…>
Branches:
5
Children:
6759c3c
Parents:
0a5d205
git-author:
Alex White <alex.white@…> (04/12/21 18:45:10)
git-committer:
Joel Sherrill <joel@…> (12/16/21 21:26:39)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/mailer.py

    r0a5d205 r56779ec  
    124124        host = self._get_arg('--smtp-host')
    125125        if host is not None:
    126             return host[1]
     126            return host
    127127        if self._args_are_macros():
    128128            host = self.opts.defaults.get_value('%{_mail_smtp_host}')
Note: See TracChangeset for help on using the changeset viewer.