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

Bill Randle william.c.randle at intel.com
Fri Aug 19 09:27:33 PDT 2016


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

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




More information about the yocto mailing list