text must be string, not list
This commit is contained in:
parent
e8684f84e1
commit
7e5c68d7ce
1 changed files with 5 additions and 5 deletions
10
master.cfg
10
master.cfg
|
@ -107,15 +107,15 @@ def MessageGDBTesters (mode, name, build, results, master_status):
|
||||||
send to the gdb-testers mailing list."""
|
send to the gdb-testers mailing list."""
|
||||||
ss_list = build.getSourceStamps ()
|
ss_list = build.getSourceStamps ()
|
||||||
subj = "Failures on %s" % name
|
subj = "Failures on %s" % name
|
||||||
text = list ()
|
text = ""
|
||||||
parser = DejaResults ()
|
parser = DejaResults ()
|
||||||
text.append ("Commit(s) tested:\n")
|
text += ("Commit(s) tested:\n")
|
||||||
for ss in ss_list:
|
for ss in ss_list:
|
||||||
text.append ("\t%s\n" % ss.revision)
|
text += ("\t%s\n" % ss.revision)
|
||||||
text.append ("\n")
|
text += ("\n")
|
||||||
for log in build.getLogs ():
|
for log in build.getLogs ():
|
||||||
if log.getName () == 'regressions' and log.hasContents ():
|
if log.getName () == 'regressions' and log.hasContents ():
|
||||||
text.append (log.getText ())
|
text += log.getText ()
|
||||||
break
|
break
|
||||||
return { 'body' : text,
|
return { 'body' : text,
|
||||||
'type' : 'plain',
|
'type' : 'plain',
|
||||||
|
|
Loading…
Reference in a new issue