Bug 6349

Summary: distro_features_check.bbclass never fails
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Sebastian Wiegand <sebastian.wiegand>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.7   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Patch for wrong indentation none

Description Sebastian Wiegand 2014-05-20 13:29:16 UTC
Created attachment 1968 [details]
Patch for wrong indentation

The check for REQUIRED_DISTRO_FEATURES in distro_features_check.bbclass never fails as the indentation is not correct.
Python needs right indentation, and the else case for the if is in wrong indentation level.
That way "else" is never called an never fails.