mirror of
https://git.yoctoproject.org/poky
synced 2026-04-01 14:02:23 +02:00
sanity.bbclass: Fix broken whitespace
(From OE-Core rev: ab44ec9618109b0852d9441b6dd065c72c86acb2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user