From e031f46ba360da5b331b48be6b7b9ba363e95f52 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sat, 23 Jul 2016 17:30:26 -0400 Subject: [PATCH] Trying to fix bug with SendRootMessage --- master.cfg | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/master.cfg b/master.cfg index c7879a8..b3c0476 100644 --- a/master.cfg +++ b/master.cfg @@ -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)