Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] sanity.bbclass: Fix typo
@ 2012-05-17 23:45 Peter Seebach
  2012-05-17 23:45 ` [PATCH 1/1] sanity.bbclass: Attach the missing value to a format string Peter Seebach
  2012-05-18 14:32 ` [PATCH 0/1] sanity.bbclass: Fix typo Richard Purdie
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Seebach @ 2012-05-17 23:45 UTC (permalink / raw)
  To: openembedded-core

So, somehow in the the cleanup, I dropped the "% tune" following a
%s.  Re-added in this patch.  And because I know how typo-prone I am,
I tested that this really does produce the right results now.  :)

The following changes since commit 7163ebd92a799b8f000b2b6f303b20de468b5f90:
  Koen Kooi (1):
        Revert "kmod: Use base_libdir for installing libkmod"

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib seebs/toolchains
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/toolchains

Peter Seebach (1):
  sanity.bbclass:  Attach the missing value to a format string.

 meta/classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] sanity.bbclass: Attach the missing value to a format string.
  2012-05-17 23:45 [PATCH 0/1] sanity.bbclass: Fix typo Peter Seebach
@ 2012-05-17 23:45 ` Peter Seebach
  2012-06-19 20:08   ` Peter Seebach
  2012-05-18 14:32 ` [PATCH 0/1] sanity.bbclass: Fix typo Richard Purdie
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Seebach @ 2012-05-17 23:45 UTC (permalink / raw)
  To: openembedded-core

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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index ff3c413..2bb0266 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -47,7 +47,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 = []
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1] sanity.bbclass: Fix typo
  2012-05-17 23:45 [PATCH 0/1] sanity.bbclass: Fix typo Peter Seebach
  2012-05-17 23:45 ` [PATCH 1/1] sanity.bbclass: Attach the missing value to a format string Peter Seebach
@ 2012-05-18 14:32 ` Richard Purdie
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2012-05-18 14:32 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-05-17 at 18:45 -0500, Peter Seebach wrote:
> So, somehow in the the cleanup, I dropped the "% tune" following a
> %s.  Re-added in this patch.  And because I know how typo-prone I am,
> I tested that this really does produce the right results now.  :)
> 
> The following changes since commit 7163ebd92a799b8f000b2b6f303b20de468b5f90:
>   Koen Kooi (1):
>         Revert "kmod: Use base_libdir for installing libkmod"
> 
> are available in the git repository at:
> 
>   git://git.yoctoproject.org/poky-contrib seebs/toolchains
>   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/toolchains
> 
> Peter Seebach (1):
>   sanity.bbclass:  Attach the missing value to a format string.

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] sanity.bbclass: Attach the missing value to a format string.
  2012-05-17 23:45 ` [PATCH 1/1] sanity.bbclass: Attach the missing value to a format string Peter Seebach
@ 2012-06-19 20:08   ` Peter Seebach
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Seebach @ 2012-06-19 20:08 UTC (permalink / raw)
  To: openembedded-core

On Thu, 17 May 2012 18:45:58 -0500
Peter Seebach <peter.seebach@windriver.com> wrote:

> 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 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index ff3c413..2bb0266 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -47,7 +47,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 = []

Just noticed that this seems to have never made it in, should I update
and resend?

-s
-- 
Listen, get this.  Nobody with a good compiler needs to be justified.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-19 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 23:45 [PATCH 0/1] sanity.bbclass: Fix typo Peter Seebach
2012-05-17 23:45 ` [PATCH 1/1] sanity.bbclass: Attach the missing value to a format string Peter Seebach
2012-06-19 20:08   ` Peter Seebach
2012-05-18 14:32 ` [PATCH 0/1] sanity.bbclass: Fix typo Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox