Bug 11536 - [PATCH] bb.data.setVar used when checking __SKIPPED
Summary: [PATCH] bb.data.setVar used when checking __SKIPPED
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-05-18 17:40 UTC by Enrico Scholz
Modified: 2017-07-08 12:37 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
fixes usage of bb.data.setVar() (1023 bytes, patch)
2017-05-18 17:40 UTC, Enrico Scholz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Scholz 2017-05-18 17:40:19 UTC
Created attachment 3766 [details]
fixes usage of bb.data.setVar()

Bitbake 1.34.0 fails with

         except bb.parse.SkipRecipe:
    >        bb.data.setVar("__SKIPPED", True, d)
             if include == 0:
AttributeError: module 'bb.data' has no attribute 'setVar'
Comment 1 Ross Burton 2017-05-25 14:40:09 UTC
Can you sent a patch to the bitbake list?