runqueue: fix bad check in process_possible_migrations
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 21 lines
From: Chris Laplante <[email protected]>
This was probably a copy-paste error from above. Detected by PyCharm's code analysis (Local variable p might be referenced before assignment).
Signed-off-by Chris Laplante <[email protected]>--- lib/bb/runqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/bb/runqueue.py index renamed from lib/bb/runqueue.py +0
-0
a4689e134..ca0fd2945100644lib/bb/runqueue.py +0
-1@@ -2610,7 +2610,7 @@ class RunQueueExecute: next = set() ready = {} for tid in current: - if self.rqdata.runtaskentries[p].depends and notself.rqdata.runtaskentries[tid].depends.isdisjoint(total):
+ if self.rqdata.runtaskentries[tid].depends and not
Quoted 8 lines
self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
continue
#get_taskhashfor a given tid *must* be called before get_unihash*
below
ready[tid] = bb.parse.siggen.get_taskhash(tid,
self.rqdata.runtaskentries[tid].depends, self.rqdata.dataCaches)
--
2.43.0
Gentle ping - I think this patch got lost.
Thanks,
Chris