From 91a164cb872d0c1f20d3a11c637c3a15fb1c8f77 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 30 May 2014 15:55:37 +0100 Subject: 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 --- bitbake/lib/bb/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/utils.py') diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index ead5f366b0..c179394dc9 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -362,7 +362,7 @@ def better_exec(code, context, text = None, realfile = ""): except Exception as e: (t, value, tb) = sys.exc_info() - if t in [bb.parse.SkipPackage, bb.build.FuncFailed]: + if t in [bb.parse.SkipRecipe, bb.build.FuncFailed]: raise try: _print_exception(t, value, tb, realfile, text, context) -- cgit v1.2.3-54-g00ecf