bitbake: server/process: Fix typo in code causing tracebacks

(Bitbake rev: 14caa3d4e5615252b9453162183980044d896d2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2020-08-26 11:27:09 +01:00
parent 4965496c4a
commit 2b3bd34f9b

View File

@@ -270,7 +270,7 @@ class ProcessServer():
lock = None
while not lock and i < 30:
time.sleep(0.1)
_, lock = bb.utils.lockfile(lockfile, shared=False, retry=False, block=False)
lock = bb.utils.lockfile(lockfile, shared=False, retry=False, block=False)
i += 1
if lock:
# We hold the lock so we can remove the file (hide stale pid data)