diff options
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index b296562450..722d542ed6 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -376,8 +376,8 @@ def multi_finalize(fn, d): | |||
376 | try: | 376 | try: |
377 | if not onlyfinalise or "default" in onlyfinalise: | 377 | if not onlyfinalise or "default" in onlyfinalise: |
378 | finalize(fn, d) | 378 | finalize(fn, d) |
379 | except bb.parse.SkipPackage: | 379 | except bb.parse.SkipPackage as e: |
380 | bb.data.setVar("__SKIPPED", True, d) | 380 | bb.data.setVar("__SKIPPED", e.args[0], d) |
381 | datastores = {"": safe_d} | 381 | datastores = {"": safe_d} |
382 | 382 | ||
383 | versions = (d.getVar("BBVERSIONS", True) or "").split() | 383 | versions = (d.getVar("BBVERSIONS", True) or "").split() |
@@ -419,8 +419,8 @@ def multi_finalize(fn, d): | |||
419 | verfunc(pv, d, safe_d) | 419 | verfunc(pv, d, safe_d) |
420 | try: | 420 | try: |
421 | finalize(fn, d) | 421 | finalize(fn, d) |
422 | except bb.parse.SkipPackage: | 422 | except bb.parse.SkipPackage as e: |
423 | bb.data.setVar("__SKIPPED", True, d) | 423 | bb.data.setVar("__SKIPPED", e.args[0], d) |
424 | 424 | ||
425 | _create_variants(datastores, versions, verfunc) | 425 | _create_variants(datastores, versions, verfunc) |
426 | 426 | ||
@@ -439,8 +439,8 @@ def multi_finalize(fn, d): | |||
439 | try: | 439 | try: |
440 | if not onlyfinalise or variant in onlyfinalise: | 440 | if not onlyfinalise or variant in onlyfinalise: |
441 | finalize(fn, variant_d, variant) | 441 | finalize(fn, variant_d, variant) |
442 | except bb.parse.SkipPackage: | 442 | except bb.parse.SkipPackage as e: |
443 | bb.data.setVar("__SKIPPED", True, variant_d) | 443 | bb.data.setVar("__SKIPPED", e.args[0], variant_d) |
444 | 444 | ||
445 | if len(datastores) > 1: | 445 | if len(datastores) > 1: |
446 | variants = filter(None, datastores.iterkeys()) | 446 | variants = filter(None, datastores.iterkeys()) |