aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/utils.py')
-rw-r--r--lib/bb/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index 231a50078..9cbef2313 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -132,6 +132,9 @@ def better_exec(code, context, text, realfile):
except:
(t,value,tb) = sys.exc_info()
+ if t == bb.parse.SkipPackage:
+ raise t(value)
+
# print the Header of the Error Message
bb.error("Error in executing: ", realfile)
bb.error("Exception:%s Message:%s" % (t,value) )