diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 3773ec0..dcb2e0a 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -929,7 +929,7 @@ class RunQueue: if self.state is runQueuePrepare: self.rqexe = RunQueueExecuteDummy(self) - if self.rqdata.prepare() is 0: + if self.rqdata.prepare() == 0: self.state = runQueueComplete else: self.state = runQueueSceneInit @@ -1018,7 +1018,7 @@ class RunQueueExecute: collect the process exit codes and close the information pipe. """ result = os.waitpid(-1, os.WNOHANG) - if result[0] is 0 and result[1] is 0: + if result[0] == 0 and result[1] == 0: return None task = self.build_pids[result[0]] del self.build_pids[result[0]] |