Not including patch anymore...

This commit is contained in:
Sergio Durigan Junior 2015-02-08 17:42:34 -05:00
parent 9c20adfd7c
commit 9f1b98bbd4

View file

@ -139,7 +139,7 @@ import smtplib
import socket
from email.mime.text import MIMEText
def SendRootMessageGDBTesters (branch, change, patch):
def SendRootMessageGDBTesters (branch, cur_change):
global GDB_MAIL_TO, GDB_MAIL_FROM
rev = change.revision
f = "/tmp/gdb-buildbot-%s.lock" % rev
@ -158,9 +158,7 @@ def SendRootMessageGDBTesters (branch, change, patch):
text += "Branch: %s\n" % branch
text += "Commit: %s\n\n" % rev
text += change.comments + "\n\n"
text += patch[1] + "\n"
text += change.comments + "\n"
mail = MIMEText (text)
mail['Subject'] = "Test results for commit %s on branch %s" % (rev, branch)
@ -178,12 +176,11 @@ send to the gdb-testers mailing list."""
git_url = "http://gdb-build.sergiodj.net/cgit"
branch = build.getSourceStamps ()[0].branch
cur_change = build.getSourceStamps ()[0].changes[0]
patch = build.getSourceStamps ()[0].patch
properties = build.getProperties ()
isrebuild = properties.getProperty ('isRebuild')
# Sending the root message to gdb-testers.
SendRootMessageGDBTesters (branch, cur_change, patch)
SendRootMessageGDBTesters (branch, cur_change)
# Subject
subj = "Failures on %s, branch %s" % (name, branch)