All of lore.kernel.org
 help / color / mirror / Atom feed
* [yocto-autobuilder][PATCH] SendQAEmail.py: cleanup email formatting
@ 2016-08-19 16:27 Bill Randle
  2016-08-22 10:30 ` Joshua Lock
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Randle @ 2016-08-19 16:27 UTC (permalink / raw)
  To: yocto

"-e" option is not required and gets inserted into email text if present.

Signed-off-by: Bill Randle <william.c.randle@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:
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [yocto-autobuilder][PATCH] SendQAEmail.py: cleanup email formatting
  2016-08-19 16:27 [yocto-autobuilder][PATCH] SendQAEmail.py: cleanup email formatting Bill Randle
@ 2016-08-22 10:30 ` Joshua Lock
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Lock @ 2016-08-22 10:30 UTC (permalink / raw)
  To: Bill Randle, yocto

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@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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-22 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 16:27 [yocto-autobuilder][PATCH] SendQAEmail.py: cleanup email formatting Bill Randle
2016-08-22 10:30 ` Joshua Lock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.