From 7e375599d8d293b1e1e5394f155dc060cd085d2b Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 20 Feb 2015 18:59:26 -0500 Subject: [PATCH] Reverting decision from last commit. the email author is not the commit's author --- master.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/master.cfg b/master.cfg index b1f5fb0..3f67f68 100644 --- a/master.cfg +++ b/master.cfg @@ -56,7 +56,7 @@ gdb_web_base = os.path.expanduser (os.path.join (basedir, 'results')) set_web_base (gdb_web_base) -GDB_MAIL_FROM = 'sergiodj@redhat.com' +GDB_MAIL_FROM = 'sergiodj+buildbot@redhat.com' GDB_MAIL_TO = 'gdb-testers@sourceware.org' # 'protocols' contains information about protocols which master will use for @@ -141,6 +141,7 @@ from email.mime.text import MIMEText def SendRootMessageGDBTesters (branch, change): global GDB_MAIL_TO, GDB_MAIL_FROM + rev = change.revision f = "/tmp/gdb-buildbot-%s.lock" % rev @@ -168,7 +169,7 @@ def SendRootMessageGDBTesters (branch, change): sbj = "[binutils-gdb/%s] %s" % (branch, chg_title) mail['Subject'] = sbj - mail['From'] = change.who + mail['From'] = GDB_MAIL_FROM mail['To'] = GDB_MAIL_TO mail['Message-Id'] = "<%s@%s>" % (rev, socket.gethostname ())