From: Richard Purdie Date: Tue, 30 Aug 2011 13:53:15 +0000 (+0100) Subject: sanity.bbclass: Fix broken whitespace X-Git-Tag: 2011-1~207 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ab44ec9618109b0852d9441b6dd065c72c86acb2;p=openembedded-core.git sanity.bbclass: Fix broken whitespace Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index b266968095..7fc334388b 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -423,12 +423,12 @@ def check_sanity(e): dups = [] for pa in pkgarchs.split(): - if seen.get(pa, 0) == 1: - dups.append(pa) - else: - seen[pa] = 1 - if pa == tunepkg: - tunefound = True + if seen.get(pa, 0) == 1: + dups.append(pa) + else: + seen[pa] = 1 + if pa == tunepkg: + tunefound = True if len(dups): messages = messages + "Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: %s" % " ".join(dups)