[oe-commits] Peter Seebach : sanity.bbclass: Attach the missing value to a format string .
git at git.openembedded.org
git at git.openembedded.org
Wed May 22 16:08:55 UTC 2013
Module: openembedded-core.git
Branch: dylan
Commit: b47906121f4440e32f6efef04827f49be5ced657
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b47906121f4440e32f6efef04827f49be5ced657
Author: Peter Seebach <peter.seebach at windriver.com>
Date: Thu May 17 23:45:58 2012 +0000
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 <peter.seebach at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/sanity.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index ac2314f..425d512 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 = []
More information about the Openembedded-commits
mailing list