Changeset 9277878 in rtems-tools


Ignore:
Timestamp:
Feb 21, 2019, 11:52:49 PM (3 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
562e98c
Parents:
35e6930
Message:

rtemstoolkit/mailer.py: Check for no --smtp-host arg being provided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/mailer.py

    r35e6930 r9277878  
    6868    def _get_arg(self, arg):
    6969        if self._args_are_macros():
    70             value = self.opts.find_arg(arg)[1]
     70            value = self.opts.find_arg(arg)
     71            if value is not None:
     72                value = self.opts.find_arg(arg)[1]
    7173        else:
    7274            if arg.startswith('--'):
Note: See TracChangeset for help on using the changeset viewer.