summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/checklayer/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index 63952616ba..288c457822 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -42,8 +42,8 @@ def _get_layer_collections(layer_path, lconf=None, data=None):
42 ldata.setVar('LAYERDIR', layer_path) 42 ldata.setVar('LAYERDIR', layer_path)
43 try: 43 try:
44 ldata = bb.parse.handle(lconf, ldata, include=True) 44 ldata = bb.parse.handle(lconf, ldata, include=True)
45 except BaseException as exc: 45 except:
46 raise LayerError(exc) 46 raise RuntimeError("Parsing of layer.conf from layer: %s failed" % layer_path)
47 ldata.expandVarref('LAYERDIR') 47 ldata.expandVarref('LAYERDIR')
48 48
49 collections = (ldata.getVar('BBFILE_COLLECTIONS') or '').split() 49 collections = (ldata.getVar('BBFILE_COLLECTIONS') or '').split()