]> code.ossystems Code Review - openembedded-core.git/commit
checklayer: Skip layers without a collection
authorJoshua Watt <JPEWhacker@gmail.com>
Fri, 22 May 2020 22:08:26 +0000 (17:08 -0500)
committerSteve Sakoman <steve@sakoman.com>
Tue, 26 May 2020 16:42:17 +0000 (06:42 -1000)
commitae65adf471a9ad04c6a44bf020a28f1006db106a
tree83f1c01e6aa5de11a2e13be8b45eab5638dd23f6
parentdbf143d79476e54e8da93101fc16eaedeec88362
checklayer: Skip layers without a collection

As in other places in the file, skip layers that don't define a
collection when searching for a layer to resolve a dependency. Fixes
KeyError exceptions when attempting to access the layer collections
later

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26090a2861ebe21224aaf89d7be0c0a89ca58e48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/lib/checklayer/__init__.py