From ec5fa8a5c3e98b8423984d1f7e3d006279449538 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 7 Aug 2015 12:39:24 -0400 Subject: [PATCH] Adding subject in the report e-mail; adding missing \n in the root message --- master.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/master.cfg b/master.cfg index 3d2e96f..f432c9e 100644 --- a/master.cfg +++ b/master.cfg @@ -158,7 +158,8 @@ def SendRootMessageGDBTesters (branch, change): text += "Branch: %s\n" % branch text += "Commit: %s\n\n" % rev - text += change.comments + "\n" + text += change.comments.split ('\n')[0] + "\n\n" + text += '\n'.join (change.comments.split ('\n')[1:]) chg_title = change.comments.split ('\n')[0] mail = MIMEText (text) @@ -264,6 +265,10 @@ send to the gdb-testers mailing list.""" for chg in ss.changes: text += "\t%s\n" % chg.who + # Subject of the changes + text += "\nSubject:\n" + text += "\t%s\n" % cur_change.comments.split ('\n')[0] + # URL to find more info about what went wrong. text += "\nTestsuite log (gdb.sum and gdb.log) URL(s):\n" for ss in ss_list: