diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/checklayer/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py index 5aeec2f00f..1138000275 100644 --- a/scripts/lib/checklayer/__init__.py +++ b/scripts/lib/checklayer/__init__.py | |||
@@ -143,6 +143,9 @@ def detect_layers(layer_directories, no_auto): | |||
143 | 143 | ||
144 | def _find_layer_depends(depend, layers): | 144 | def _find_layer_depends(depend, layers): |
145 | for layer in layers: | 145 | for layer in layers: |
146 | if 'collections' not in layer: | ||
147 | continue | ||
148 | |||
146 | for collection in layer['collections']: | 149 | for collection in layer['collections']: |
147 | if depend == collection: | 150 | if depend == collection: |
148 | return layer | 151 | return layer |