[yocto] [yocto-autobuilder][PATCH] SendQAEmail.py: cleanup email formatting

Joshua Lock joshua.g.lock at linux.intel.com
Mon Aug 22 03:30:05 PDT 2016


On Fri, 2016-08-19 at 09:27 -0700, Bill Randle wrote:
> "-e" option is not required and gets inserted into email text if
> present.

Pushed to master, thanks.

Joshua

> 
> Signed-off-by: Bill Randle <william.c.randle at intel.com>
> ---
>  lib/python2.7/site-packages/autobuilder/buildsteps/SendQAEmail.py |
> 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/python2.7/site-
> packages/autobuilder/buildsteps/SendQAEmail.py b/lib/python2.7/site-
> packages/autobuilder/buildsteps/SendQAEmail.py
> index 3691cc6..1bb2893 100644
> --- a/lib/python2.7/site-
> packages/autobuilder/buildsteps/SendQAEmail.py
> +++ b/lib/python2.7/site-
> packages/autobuilder/buildsteps/SendQAEmail.py
> @@ -95,7 +95,7 @@ Please begin QA on this build as soon as
> possible.''' % (rel_name, self.getPrope
>  
>              email_header += "Subject: " + mailsubject + "\n"
>  
> -            mailcmd = 'echo -e "' + email_header + "\n" + email_base
> + '\n' + email_body + '\n' + mailsig + ' " | sendmail -t'
> +            mailcmd = 'echo "' + email_header + "\n" + email_base +
> '\n' + email_body + '\n' + mailsig + ' " | sendmail -t'
>  
>              self.command = mailcmd
>          else:



More information about the yocto mailing list