Properly fetching log content
This commit is contained in:
parent
254aa307f9
commit
e8684f84e1
1 changed files with 4 additions and 1 deletions
|
@ -113,7 +113,10 @@ send to the gdb-testers mailing list."""
|
|||
for ss in ss_list:
|
||||
text.append ("\t%s\n" % ss.revision)
|
||||
text.append ("\n")
|
||||
text.append (build.getLog ('regressions').getText ())
|
||||
for log in build.getLogs ():
|
||||
if log.getName () == 'regressions' and log.hasContents ():
|
||||
text.append (log.getText ())
|
||||
break
|
||||
return { 'body' : text,
|
||||
'type' : 'plain',
|
||||
'subject' : subj }
|
||||
|
|
Loading…
Reference in a new issue