diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-06 14:21:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 10:28:12 +0100 |
commit | 5e3909bdce9d3825134f11945b9df67e28a8b986 (patch) | |
tree | f2aae6804b3ba2a92b5800e06844b55054fb9676 /bitbake/lib | |
parent | 5b57335ae4365c77562d2b1e48d62b551851ee9d (diff) | |
download | poky-5e3909bdce9d3825134f11945b9df67e28a8b986.tar.gz |
bitbake: runqueue: Code simplification
Simplfy some looping code which no longer has any purpose.
(Bitbake rev: 01dfc37095e5c661f275917d22aa1c1ad7f24d8d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 31ce89abbe..74a97d6740 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2376,10 +2376,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq): | |||
2376 | # Sanity check all dependencies could be changed to setscene task references | 2376 | # Sanity check all dependencies could be changed to setscene task references |
2377 | for taskcounter, tid in enumerate(rqdata.runtaskentries): | 2377 | for taskcounter, tid in enumerate(rqdata.runtaskentries): |
2378 | if tid in rqdata.runq_setscene_tids: | 2378 | if tid in rqdata.runq_setscene_tids: |
2379 | deps = set() | 2379 | sq_revdeps_squash[tid] = set(sq_revdeps_new[tid]) |
2380 | for dep in sq_revdeps_new[tid]: | ||
2381 | deps.add(dep) | ||
2382 | sq_revdeps_squash[tid] = deps | ||
2383 | elif len(sq_revdeps_new[tid]) != 0: | 2380 | elif len(sq_revdeps_new[tid]) != 0: |
2384 | bb.msg.fatal("RunQueue", "Something went badly wrong during scenequeue generation, aborting. Please report this problem.") | 2381 | bb.msg.fatal("RunQueue", "Something went badly wrong during scenequeue generation, aborting. Please report this problem.") |
2385 | rqdata.init_progress_reporter.update(taskcounter) | 2382 | rqdata.init_progress_reporter.update(taskcounter) |