From 48619958d53cbec888a0a6806c5e494291e9e227 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 20 Aug 2012 16:52:21 +0000 Subject: meta/classes: Various python whitespace fixes It was pointed out we have a number of weird indentations in the python functions. This patch cleans up 3, 7 and other weird indentations for the core bbclass files. It also fixes some wierd (odd) shell function indentation which my searches picked up. (From OE-Core rev: 8385d6d74624000d68814f4e3266d47bc8885942) Signed-off-by: Richard Purdie --- meta/classes/recipe_sanity.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes/recipe_sanity.bbclass') diff --git a/meta/classes/recipe_sanity.bbclass b/meta/classes/recipe_sanity.bbclass index 63e9e7ff23..c3bd0d2a4c 100644 --- a/meta/classes/recipe_sanity.bbclass +++ b/meta/classes/recipe_sanity.bbclass @@ -4,7 +4,7 @@ def __note(msg, d): __recipe_sanity_badruntimevars = "RDEPENDS RPROVIDES RRECOMMENDS RCONFLICTS" def bad_runtime_vars(cfgdata, d): if bb.data.inherits_class("native", d) or \ - bb.data.inherits_class("cross", d): + bb.data.inherits_class("cross", d): return for var in d.getVar("__recipe_sanity_badruntimevars", True).split(): @@ -42,7 +42,7 @@ def var_renames_overwrite(cfgdata, d): def incorrect_nonempty_PACKAGES(cfgdata, d): if bb.data.inherits_class("native", d) or \ - bb.data.inherits_class("cross", d): + bb.data.inherits_class("cross", d): if d.getVar("PACKAGES", True): return True -- cgit 1.2.3-korg