]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Fix broken whitespace
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Aug 2011 13:53:15 +0000 (14:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Aug 2011 18:30:06 +0000 (19:30 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass

index b26696809501b96ea0da5ed75837240a5ebce54c..7fc334388bfa453d488d97161a2f35110c80598d 100644 (file)
@@ -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)