diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-30 15:55:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-01 14:29:31 +0100 |
commit | 91a164cb872d0c1f20d3a11c637c3a15fb1c8f77 (patch) | |
tree | 98ca4b91d3d6eeb4f0ec3e9244c64f2404bd3beb /bitbake/lib/bb/build.py | |
parent | 044296ce4c40edb9b5584a5f4118882944b248f6 (diff) | |
download | poky-91a164cb872d0c1f20d3a11c637c3a15fb1c8f77.tar.gz |
bitbake: 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.
(Bitbake rev: 98d9e6e0f514a7cb7da1d99bf4bd5602b89426d6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 5cb4c06a88..98ee36ce58 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -243,7 +243,7 @@ def exec_func_python(func, d, runfile, cwd=None): | |||
243 | comp = utils.better_compile(code, func, bbfile) | 243 | comp = utils.better_compile(code, func, bbfile) |
244 | utils.better_exec(comp, {"d": d}, code, bbfile) | 244 | utils.better_exec(comp, {"d": d}, code, bbfile) |
245 | except: | 245 | except: |
246 | if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed): | 246 | if sys.exc_info()[0] in (bb.parse.SkipRecipe, bb.build.FuncFailed): |
247 | raise | 247 | raise |
248 | 248 | ||
249 | raise FuncFailed(func, None) | 249 | raise FuncFailed(func, None) |