Fixing report breakage lock file name

This commit is contained in:
Sergio Durigan Junior 2017-09-07 14:51:13 -04:00
parent 7da1f920da
commit 3ab7c26d1a

View file

@ -423,7 +423,7 @@ send to the gdb-testers mailing list."""
else:
# There is no build breakage anymore! Yay! Now, let's see if
# we need to clean up any lock file from previous breaks.
lockfile = make_breakage_lockfile_name (cur_change.revision, name, branch)
lockfile = make_breakage_lockfile_name (name, branch, cur_change.revision)
if os.path.exists (lockfile):
# We need to clean the lockfile. Garbage-collect it here.
os.remove (lockfile)