]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 May 2013 18:54:14 +0000 (21:54 +0300)
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>
meta/classes/sanity.bbclass

index 62fe7e4ef7f1a98608599daee1358f9eea531664..325942c3e9ae83eba60a6d27186aed83d8db5b4d 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 = []