aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-14 12:33:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-14 12:35:51 +0000
commit7467d7d66b24cc8f43ab168e65895e7c4aee6092 (patch)
tree8ba76719d69792cf8b35ec8f8437a6dd6bb5ded2 /lib/bb/data_smart.py
parent3a1b75037fe1e5282ffd40b037e93353405faa45 (diff)
downloadbitbake-7467d7d66b24cc8f43ab168e65895e7c4aee6092.tar.gz
data_smart/BBHandler: Fix SkipParse exception handling
If SkipParse is raised from something which isn't anonymous python, it wasn't being handled correctly. This improves the handling for example from within inline python. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/data_smart.py')
-rw-r--r--lib/bb/data_smart.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index fb8d9d53c..d32840090 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -143,6 +143,8 @@ class DataSmart(MutableMapping):
break
except ExpansionError:
raise
+ except bb.parse.SkipPackage:
+ raise
except Exception as exc:
raise ExpansionError(varname, s, exc)