]> code.ossystems Code Review - openembedded-core.git/commitdiff
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)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 20 May 2013 15:06:27 +0000 (16:06 +0100)
The tuning changes to sanity.bbclass were almost right, but one of
the messages had a %s with no % operator.

(From OE-Core master 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 ac2314fdcf7a3e3f748f49010ca45cdff55f4679..425d5127ecdb59e5630c60b9f447dcd414222e3c 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 = []