From: Peter Seebach Date: Thu, 17 May 2012 23:45:58 +0000 (+0000) Subject: sanity.bbclass: Attach the missing value to a format string. X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b47906121f4440e32f6efef04827f49be5ced657;p=openembedded-core.git 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. (From OE-Core master rev: cf5e40598ae9a83f22cabedc7b72000beb62703c) Signed-off-by: Peter Seebach Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index ac2314fdcf..425d5127ec 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 = []