summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 3773ec0e1e..dcb2e0a86b 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -929,7 +929,7 @@ class RunQueue:
929 929
930 if self.state is runQueuePrepare: 930 if self.state is runQueuePrepare:
931 self.rqexe = RunQueueExecuteDummy(self) 931 self.rqexe = RunQueueExecuteDummy(self)
932 if self.rqdata.prepare() is 0: 932 if self.rqdata.prepare() == 0:
933 self.state = runQueueComplete 933 self.state = runQueueComplete
934 else: 934 else:
935 self.state = runQueueSceneInit 935 self.state = runQueueSceneInit
@@ -1018,7 +1018,7 @@ class RunQueueExecute:
1018 collect the process exit codes and close the information pipe. 1018 collect the process exit codes and close the information pipe.
1019 """ 1019 """
1020 result = os.waitpid(-1, os.WNOHANG) 1020 result = os.waitpid(-1, os.WNOHANG)
1021 if result[0] is 0 and result[1] is 0: 1021 if result[0] == 0 and result[1] == 0:
1022 return None 1022 return None
1023 task = self.build_pids[result[0]] 1023 task = self.build_pids[result[0]]
1024 del self.build_pids[result[0]] 1024 del self.build_pids[result[0]]