[yocto] [auh][PATCH 16/20] upgradehelper.py: send email even if recipe upgrade failed
Alexander Kanavin
alexander.kanavin at linux.intel.com
Thu Dec 14 08:35:56 PST 2017
From: Alexander Kanavin <alex.kanavin at gmail.com>
Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
upgradehelper.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index d3cc2c4..043d334 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -380,8 +380,7 @@ class Updater(object):
if os.path.isfile(attachment_fullpath):
attachments.append(attachment_fullpath)
- # Only send email to Maintainer when recipe upgrade succeed.
- if self.opts['send_email'] and not pkg_ctx['error']:
+ if self.opts['send_email']:
self.email_handler.send_email(to_addr, subject, msg_body, attachments, cc_addr=cc_addr)
# Preserve email for review purposes.
email_file = os.path.join(pkg_ctx['workdir'],
--
2.15.0
More information about the yocto
mailing list