Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sanity.bbclass: Fix broken whitespace
@ 2011-08-30 16:20 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2011-08-30 16:20 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index b266968..7fc3343 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)





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-30 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30 16:20 [PATCH] sanity.bbclass: Fix broken whitespace Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox