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
|
import socket
|
||||||
from email.mime.text import MIMEText
|
from email.mime.text import MIMEText
|
||||||
|
|
||||||
def make_try_build_lockfile_name (rev):
|
def make_try_build_lockfile_name (msgid):
|
||||||
return "/tmp/gdb-buildbot-%s-try.lock" % rev
|
return "/tmp/gdb-buildbot-%s-try.lock" % msgid
|
||||||
|
|
||||||
def SendRootMessageGDBTesters (branch, change, rev,
|
def SendRootMessageGDBTesters (branch, change, rev,
|
||||||
istrysched = False,
|
istrysched = False,
|
||||||
|
@ -153,7 +153,7 @@ def SendRootMessageGDBTesters (branch, change, rev,
|
||||||
global GDB_MAIL_TO, GDB_MAIL_FROM
|
global GDB_MAIL_TO, GDB_MAIL_FROM
|
||||||
|
|
||||||
if istrysched:
|
if istrysched:
|
||||||
f = make_try_build_lockfile_name (rev)
|
f = make_try_build_lockfile_name (try_msgid)
|
||||||
else:
|
else:
|
||||||
f = "/tmp/gdb-buildbot-%s.lock" % rev
|
f = "/tmp/gdb-buildbot-%s.lock" % rev
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue