Make try-lockfile name be like the root message id
This commit is contained in:
parent
447c084f3b
commit
cbe3b6a13e
1 changed files with 3 additions and 3 deletions
|
@ -142,8 +142,8 @@ import smtplib
|
|||
import socket
|
||||
from email.mime.text import MIMEText
|
||||
|
||||
def make_try_build_lockfile_name (rev):
|
||||
return "/tmp/gdb-buildbot-%s-try.lock" % rev
|
||||
def make_try_build_lockfile_name (msgid):
|
||||
return "/tmp/gdb-buildbot-%s-try.lock" % msgid
|
||||
|
||||
def SendRootMessageGDBTesters (branch, change, rev,
|
||||
istrysched = False,
|
||||
|
@ -153,7 +153,7 @@ def SendRootMessageGDBTesters (branch, change, rev,
|
|||
global GDB_MAIL_TO, GDB_MAIL_FROM
|
||||
|
||||
if istrysched:
|
||||
f = make_try_build_lockfile_name (rev)
|
||||
f = make_try_build_lockfile_name (try_msgid)
|
||||
else:
|
||||
f = "/tmp/gdb-buildbot-%s.lock" % rev
|
||||
|
||||
|
|
Loading…
Reference in a new issue