Improving name of breakage lockfile; adding missing newline in breakage report

This commit is contained in:
Sergio Durigan Junior 2015-06-15 15:50:27 -04:00
parent fefd0e469c
commit cc102f34d6

View file

@ -178,7 +178,7 @@ def SendRootMessageGDBTesters (branch, change):
s.quit ()
def make_breakage_lockfile_name (builder):
return "/tmp/gdb-buildbot-%s.lock" % builder
return "/tmp/gdb-buildbot-breakage-report-%s.lock" % builder
def SendAuthorMessage (name, change, text_prepend):
"""Send a message to the author of the commit if it broke GDB.
@ -316,7 +316,7 @@ send to the gdb-testers mailing list."""
if len (ct) > 100000:
text += "\n+++ The log is too big to be posted here."
text += "\n+++ Please go to the \"Full Build URL\" (link above) to see it."
text += "\n"
text += "\n\n"
else:
text += ct
text += "============================\n"