Adding subject in the report e-mail; adding missing \n in the root message
This commit is contained in:
parent
ca05efdbc7
commit
ec5fa8a5c3
1 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue