Explorar el Código

server/process: Fix typo in code causing tracebacks

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie hace 3 años
padre
commit
14caa3d4e5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/bb/server/process.py

+ 1 - 1
lib/bb/server/process.py

@@ -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)