[oe-commits] Peter Seebach : sanity.bbclass: Attach the missing value to a format string .

git at git.openembedded.org git at git.openembedded.org
Mon May 13 18:49:58 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: cf5e40598ae9a83f22cabedc7b72000beb62703c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cf5e40598ae9a83f22cabedc7b72000beb62703c

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.

Signed-off-by: Peter Seebach <peter.seebach at windriver.com>

---

 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 62fe7e4..325942c 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