Trying to access the patch on try builder

This commit is contained in:
Sergio Durigan Junior 2016-07-23 12:08:23 -04:00
parent 4fea05dda8
commit 9f347c13d7

View file

@ -179,7 +179,7 @@ def SendRootMessageGDBTesters (branch, change, istrysched = False,
text += "Commit tested against: %s\n\n" % rev
text += "Patch tested:\n\n"
text += change.patch_body
text += change.body
chg_title = "Try Build against commit %s" % rev
text = text.encode ('ascii', 'ignore').decode ('ascii')
@ -413,7 +413,7 @@ send to the gdb-testers mailing list."""
git_url = "http://gdb-build.sergiodj.net/cgit"
branch = build.getSourceStamps ()[0].branch
sourcestamp = build.getSourceStamps ()[0]
cur_change = sourcestamp.patch_body
cur_change = sourcestamp.patch
properties = build.getProperties ()
isrebuild = properties.getProperty ('isRebuild')