From 9f1b98bbd476c81b1e07397263aeb4454d284319 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sun, 8 Feb 2015 17:42:34 -0500 Subject: [PATCH] Not including patch anymore... --- master.cfg | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/master.cfg b/master.cfg index af64031..5126702 100644 --- a/master.cfg +++ b/master.cfg @@ -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)