summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2012-05-17 23:45:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-13 21:54:14 +0300
commitcf5e40598ae9a83f22cabedc7b72000beb62703c (patch)
treee4eb869169c7cc3bcff54553f77c91a81c85af6b
parentc5c1517726aa103a3cdb60abda95e28997cac7c4 (diff)
downloadopenembedded-core-cf5e40598ae9a83f22cabedc7b72000beb62703c.tar.gz
openembedded-core-cf5e40598ae9a83f22cabedc7b72000beb62703c.tar.bz2
openembedded-core-cf5e40598ae9a83f22cabedc7b72000beb62703c.zip
sanity.bbclass: Attach the missing value to a format string.
The tuning changes to sanity.bbclass were almost right, but one of the messages had a %s with no % operator. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 62fe7e4ef7..325942c3e9 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -124,7 +124,7 @@ def check_toolchain_tune(data, tune, multilib):
tune_errors.append("Tuning '%s' (%s) cannot be used with any supported tuning/ABI." %
(tune, tuneabi))
if tune_errors:
- return "Tuning '%s' has the following errors:\n" + '\n'.join(tune_errors)
+ return "Tuning '%s' has the following errors:\n" % tune + '\n'.join(tune_errors)
def check_toolchain(data):
tune_error_set = []