[OE-core] [PATCH] sanity.bbclass: Fix broken whitespace

Richard Purdie richard.purdie at linuxfoundation.org
Tue Aug 30 16:20:19 UTC 2011


Signed-off-by: Richard Purdie <richard.purdie at 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)






More information about the Openembedded-core mailing list