summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wiegand <sebastian.wiegand@gersys.de>2014-05-20 15:22:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-29 13:42:09 +0100
commitd56b29b251d94f16992726a0ed0192693265a20d (patch)
treefaec320b2922e0e8192ea99815835bc35e451423
parent0927dbf7183574fc17f3684fff39a74385b971a5 (diff)
downloadopenembedded-core-contrib-d56b29b251d94f16992726a0ed0192693265a20d.tar.gz
openembedded-core-contrib-d56b29b251d94f16992726a0ed0192693265a20d.tar.bz2
openembedded-core-contrib-d56b29b251d94f16992726a0ed0192693265a20d.zip
distro_features_check.bbclass: fix wrong indentation
To fix check of REQUIRED_DISTRO_FEATURES fix indentation in python code. [YOCTO #6349] Reported and written by: Sebastian Wiegand <sebastian.wiegand@gersys.de> (From OE-Core rev: 986db87a3931edce8be79f309d07497e4179a810) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/distro_features_check.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/distro_features_check.bbclass b/meta/classes/distro_features_check.bbclass
index 61b11b7d53..8a0ecb707e 100644
--- a/meta/classes/distro_features_check.bbclass
+++ b/meta/classes/distro_features_check.bbclass
@@ -15,8 +15,8 @@ python () {
for f in required_distro_features:
if f in distro_features:
break
- else:
- raise bb.parse.SkipPackage("missing required distro feature %s (not in DISTRO_FEATURES)" % required_distro_features)
+ else:
+ raise bb.parse.SkipPackage("missing required distro feature %s (not in DISTRO_FEATURES)" % required_distro_features)
conflict_distro_features = d.getVar('CONFLICT_DISTRO_FEATURES', True)
if conflict_distro_features: