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

Unified Diff: mailer.py

Issue 118643002: Whitelist jschuh@ for gatekeeper_ng emails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-build
Patch Set: Created 7 years 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 | « no previous file | no next file » | 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 978d22ff26095451931970df30ce7d0ef8ebbd79..13fae1aa27af9ed3ab7b8e03975c2893de05a247 100644
--- a/mailer.py
+++ b/mailer.py
@@ -183,6 +183,14 @@ class Email(BaseHandler):
mail_override = ['stip@chromium.org',
'gatekeeper-ng@chromium-gatekeeper-sentry.appspotmail.com']
+ whitelist = ['jschuh']
+
+ for alias in whitelist:
+ for domain in ('@chromium.org', '@google.com'):
+ candidate = alias + domain
+ if candidate in recipients:
+ mail_override.append(candidate)
+
message = mail.EmailMessage(sender=from_addr,
subject=subject,
#to=recipients,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698