Reverting decision from last commit. the email author is not the commit's author
This commit is contained in:
parent
6f1b79d087
commit
7e375599d8
1 changed files with 3 additions and 2 deletions
|
@ -56,7 +56,7 @@ gdb_web_base = os.path.expanduser (os.path.join (basedir,
|
||||||
'results'))
|
'results'))
|
||||||
set_web_base (gdb_web_base)
|
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'
|
GDB_MAIL_TO = 'gdb-testers@sourceware.org'
|
||||||
|
|
||||||
# 'protocols' contains information about protocols which master will use for
|
# 'protocols' contains information about protocols which master will use for
|
||||||
|
@ -141,6 +141,7 @@ from email.mime.text import MIMEText
|
||||||
|
|
||||||
def SendRootMessageGDBTesters (branch, change):
|
def SendRootMessageGDBTesters (branch, change):
|
||||||
global GDB_MAIL_TO, GDB_MAIL_FROM
|
global GDB_MAIL_TO, GDB_MAIL_FROM
|
||||||
|
|
||||||
rev = change.revision
|
rev = change.revision
|
||||||
f = "/tmp/gdb-buildbot-%s.lock" % rev
|
f = "/tmp/gdb-buildbot-%s.lock" % rev
|
||||||
|
|
||||||
|
@ -168,7 +169,7 @@ def SendRootMessageGDBTesters (branch, change):
|
||||||
sbj = "[binutils-gdb/%s] %s" % (branch, chg_title)
|
sbj = "[binutils-gdb/%s] %s" % (branch, chg_title)
|
||||||
|
|
||||||
mail['Subject'] = sbj
|
mail['Subject'] = sbj
|
||||||
mail['From'] = change.who
|
mail['From'] = GDB_MAIL_FROM
|
||||||
mail['To'] = GDB_MAIL_TO
|
mail['To'] = GDB_MAIL_TO
|
||||||
mail['Message-Id'] = "<%s@%s>" % (rev, socket.gethostname ())
|
mail['Message-Id'] = "<%s@%s>" % (rev, socket.gethostname ())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue