diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-17 17:44:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:52:52 +0000 |
commit | d8b2257f57f25a2efca06ff3d90c41a0c9903eff (patch) | |
tree | 15db73977661b4134164a74af50c41deb3ac7575 /bitbake/lib/bb/runqueue.py | |
parent | 918736d6c94753ef0ae53457662cb09dbd6b092c (diff) | |
download | poky-d8b2257f57f25a2efca06ff3d90c41a0c9903eff.tar.gz |
bitbake: runqueue: Fix traceback when using -b
Without this, bitbake -b of image recipes cause tracebacks since
the list of providers is empty.
(Bitbake rev: c53e43f3c6a675c0934a7a4e358fd66b049ffca3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index d42eb81664..7e651a45d7 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -567,6 +567,8 @@ class RunQueueData: | |||
567 | for (depname, idependtask) in irdepends: | 567 | for (depname, idependtask) in irdepends: |
568 | if depname in taskData[mc].run_targets: | 568 | if depname in taskData[mc].run_targets: |
569 | # Won't be in run_targets if ASSUME_PROVIDED | 569 | # Won't be in run_targets if ASSUME_PROVIDED |
570 | if not taskData[mc].run_targets[depname]: | ||
571 | continue | ||
570 | depdata = taskData[mc].run_targets[depname][0] | 572 | depdata = taskData[mc].run_targets[depname][0] |
571 | if depdata is not None: | 573 | if depdata is not None: |
572 | t = depdata + ":" + idependtask | 574 | t = depdata + ":" + idependtask |