sanity.bbclass: Attach the missing value to a format string.
authorPeter Seebach <peter.seebach@windriver.com>
Thu, 17 May 2012 23:45:58 +0000 (23:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 May 2013 18:54:40 +0000 (21:54 +0300)
The tuning changes to sanity.bbclass were almost right, but one of
the messages had a %s with no % operator.

(From OE-Core rev: cf5e40598ae9a83f22cabedc7b72000beb62703c)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass

index 62fe7e4..325942c 100644 (file)
@@ -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 = []