Looks good. Ok to push.

Do you think the tools version in the RSB needs to be updated?
Chris

On 22/2/19 10:53 am, Joel Sherrill wrote:
> ---
>  rtemstoolkit/mailer.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/rtemstoolkit/mailer.py b/rtemstoolkit/mailer.py
> index 241ee1c..f8f813c 100644
> --- a/rtemstoolkit/mailer.py
> +++ b/rtemstoolkit/mailer.py
> @@ -67,7 +67,9 @@ class mail:
>  
>      def _get_arg(self, arg):
>          if self._args_are_macros():
> -            value = self.opts.find_arg(arg)[1]
> +            value = self.opts.find_arg(arg)
> +            if value is not None:
> +                value = self.opts.find_arg(arg)[1]
>          else:
>              if arg.startswith('--'):
>                  arg = arg[2:]
> 
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to