summaryrefslogtreecommitdiffstats
path: root/lib/bb/parse/parse_py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 15:55:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:31:23 +0100
commit98d9e6e0f514a7cb7da1d99bf4bd5602b89426d6 (patch)
treecac235bd6659429a5feb17dd3e4a9872ba23ee77 /lib/bb/parse/parse_py
parentf63b61f8997862439519f474cc09f3e05e95288c (diff)
downloadbitbake-98d9e6e0f514a7cb7da1d99bf4bd5602b89426d6.tar.gz
event: Add SkipRecipe event to replace SkipPackage
In the depths of time we were rather confused about naming. bb files are recipes, the event to skip parsing them should be SkipRecipe, not SkipPackage. This changes bitbake to use the better name but leaves the other around for now. We can therefore start removing references to it from the metadata. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/parse/parse_py')
-rw-r--r--lib/bb/parse/parse_py/BBHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/parse/parse_py/BBHandler.py b/lib/bb/parse/parse_py/BBHandler.py
index a8627e9c0..9633340d1 100644
--- a/lib/bb/parse/parse_py/BBHandler.py
+++ b/lib/bb/parse/parse_py/BBHandler.py
@@ -154,7 +154,7 @@ def handle(fn, d, include):
try:
statements.eval(d)
- except bb.parse.SkipPackage:
+ except bb.parse.SkipRecipe:
bb.data.setVar("__SKIPPED", True, d)
if include == 0:
return { "" : d }