s/SendAuthorMessage/SendAuthorBreakageMessage/

This commit is contained in:
Sergio Durigan Junior 2017-09-28 14:25:05 -04:00
parent e4d72f98f7
commit 8ea5efe034

View file

@ -219,7 +219,7 @@ def SendRootMessageGDBTesters (branch, change, rev,
def make_breakage_lockfile_name (branch, builder): def make_breakage_lockfile_name (branch, builder):
return "/tmp/gdb-buildbot-breakage-report-%s-%s" % (branch, builder) return "/tmp/gdb-buildbot-breakage-report-%s-%s" % (branch, builder)
def SendAuthorMessage (name, branch, change, text_prepend): def SendAuthorBreakageMessage (name, branch, change, text_prepend):
"""Send a message to the author of the commit if it broke GDB. """Send a message to the author of the commit if it broke GDB.
We use a lock file to avoid reporting the breakage to different We use a lock file to avoid reporting the breakage to different
@ -423,7 +423,7 @@ send to the gdb-testers mailing list."""
if report_build_breakage: if report_build_breakage:
subj += " *** BREAKAGE ***" subj += " *** BREAKAGE ***"
SendAuthorMessage (name, branch, cur_change, text) SendAuthorBreakageMessage (name, branch, cur_change, text)
else: else:
# There is no build breakage anymore! Yay! Now, let's see if # There is no build breakage anymore! Yay! Now, let's see if
# we need to clean up any lock file from previous breaks. # we need to clean up any lock file from previous breaks.