diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-11 17:04:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 09:31:50 +0100 |
commit | ae36b5c693bb9f13c88199e78e3c31616852eafb (patch) | |
tree | cda3b3b06a5f60ad9a9ac5fde91ab41c03a820fd /lib/bb/runqueue.py | |
parent | 20956b508a082224139c8f56b68299edff6e0443 (diff) | |
download | bitbake-ae36b5c693bb9f13c88199e78e3c31616852eafb.tar.gz |
runqueue: Simplify some convoluted logic
This was left from when task IDs complicated the code, simplify.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r-- | lib/bb/runqueue.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index db0d852c5..48b668abc 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1908,12 +1908,7 @@ class RunQueueExecute: if nexttask in self.sqdata.unskippable: logger.debug(2, "Setscene task %s is unskippable" % nexttask) if nexttask not in self.sqdata.unskippable and len(self.sqdata.sq_revdeps[nexttask]) > 0 and self.sqdata.sq_revdeps[nexttask].issubset(self.scenequeue_covered) and self.check_dependencies(nexttask, self.sqdata.sq_revdeps[nexttask]): - fn = fn_from_tid(nexttask) - foundtarget = False - - if nexttask in self.rqdata.target_tids: - foundtarget = True - if not foundtarget: + if nexttask not in self.rqdata.target_tids: logger.debug(2, "Skipping setscene for task %s" % nexttask) self.sq_task_skip(nexttask) self.scenequeue_notneeded.add(nexttask) |