Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: mailer.py

Issue 143263025: Add support to change the status header for gatekeeper-ng. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-build
Patch Set: Rename to use status_header instead of status. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gatekeeper_mailer.py ('k') | tests/test_mailer/expected_status.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mailer.py
diff --git a/mailer.py b/mailer.py
index 4b529e08fccce81cc7fc169c0f814031db32ee72..767d81c23e8abe00ab69d018a741d8a4149eafc4 100644
--- a/mailer.py
+++ b/mailer.py
@@ -168,12 +168,14 @@ class Email(BaseHandler):
app_identity.get_application_id())
subject_template = build_data.get('subject_template')
+ status_header = build_data.get('status_header')
template = gatekeeper_mailer.MailTemplate(build_data['waterfall_url'],
build_data['build_url'],
build_data['project_name'],
from_addr,
- subject=subject_template)
+ subject=subject_template,
+ status_header=status_header)
text_content, html_content, subject = template.genMessageContent(build_data)
« no previous file with comments | « gatekeeper_mailer.py ('k') | tests/test_mailer/expected_status.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698