aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/send-qa-email4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/send-qa-email b/scripts/send-qa-email
index f38c876..c81fe88 100755
--- a/scripts/send-qa-email
+++ b/scripts/send-qa-email
@@ -141,6 +141,10 @@ Build hash information: \n
''' % (args.release, args.publish_dir.replace(web_root, web_url), buildhashes)
+# Store a copy of the email in case it doesn't reach the lists
+with open(os.path.join(args.publish_dir, "qa-email"), "wb") as qa_email:
+ qa_email.write(email.encode('utf-8'))
+
utils.printheader("Sending QA email")
env = os.environ.copy()
# Many distros have sendmail in */sbin