Fixing Message-Id on root message

This commit is contained in:
Sergio Durigan Junior 2016-07-28 14:04:55 -04:00
parent bb8df1393f
commit 47fd6057e8

View file

@ -197,10 +197,11 @@ def SendRootMessageGDBTesters (branch, change, rev,
if not istrysched:
mail['To'] = GDB_MAIL_TO
mailto = GDB_MAIL_TO
mail['Message-Id'] = "<%s@gdb-build>" % rev
else:
mail['To'] = try_to
mailto = try_to
mail['Message-Id'] = "<%s-try@gdb-build>" % rev
mail['Message-Id'] = "<%s-try@gdb-build>" % rev
s = smtplib.SMTP ('localhost')
s.sendmail (GDB_MAIL_FROM, [ mailto ], mail.as_string ())