Bug 6349 - distro_features_check.bbclass never fails
Summary: distro_features_check.bbclass never fails
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-05-20 13:29 UTC by Sebastian Wiegand
Modified: 2014-05-22 13:38 UTC (History)
2 users (show)

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


Attachments
Patch for wrong indentation (1.20 KB, text/plain)
2014-05-20 13:29 UTC, Sebastian Wiegand
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.