Trying to fix bug with SendRootMessage
This commit is contained in:
parent
35a0c0af6d
commit
e031f46ba3
1 changed files with 6 additions and 3 deletions
|
@ -194,12 +194,15 @@ def SendRootMessageGDBTesters (branch, change, rev,
|
|||
mail['From'] = GDB_MAIL_FROM
|
||||
if not istrysched:
|
||||
mail['To'] = GDB_MAIL_TO
|
||||
mailto = GDB_MAIL_TO
|
||||
else:
|
||||
mail['To'] = try_to
|
||||
mail['Message-Id'] = "<%s@gdb-build>" % rev
|
||||
mailto = try_to
|
||||
print "==== MEU MAILTO %s" % mailto
|
||||
mail['Message-Id'] = "<%s-try@gdb-build>" % rev
|
||||
|
||||
s = smtplib.SMTP ('localhost')
|
||||
s.sendmail (GDB_MAIL_FROM, [ mail['To'] ], mail.as_string ())
|
||||
s.sendmail (GDB_MAIL_FROM, [ mailto ], mail.as_string ())
|
||||
s.quit ()
|
||||
|
||||
def make_breakage_lockfile_prefix ():
|
||||
|
@ -569,7 +572,7 @@ mn_try = MyMailNotifier(fromaddr = GDB_MAIL_FROM,
|
|||
messageFormatter = MessageGDBTestersTryBuild,
|
||||
tags = [ "MAIL" ],
|
||||
extraHeaders = { 'X-GDB-Buildbot' : '1',
|
||||
'In-Reply-To' : WithProperties ("<%s@gdb-build>",
|
||||
'In-Reply-To' : WithProperties ("<%s-try@gdb-build>",
|
||||
'got_revision') })
|
||||
|
||||
c['status'].append (mn)
|
||||
|
|
Loading…
Reference in a new issue