All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: tom.zanussi@intel.com
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 1/1] yocto-bsp: set branches_base for list_property_values()
Date: Tue, 23 Oct 2012 12:12:58 -0700	[thread overview]
Message-ID: <5086EC3A.7020507@linux.intel.com> (raw)
In-Reply-To: <fb09064abc2df8e5162663fce150ffcd532aa649.1350666665.git.tom.zanussi@intel.com>

On 10/19/2012 10:22 AM, tom.zanussi@intel.com wrote:
> From: Tom Zanussi <tom.zanussi@intel.com>
>
> yocto_bsp_list_property_values() is missing the context it needs to
> properly filter choicelists, so add it to the context object.
>
> Fixes [YOCTO #3233]
>
> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
> ---
>   scripts/lib/bsp/engine.py | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py
> index ac5058c..8d47bbf 100644
> --- a/scripts/lib/bsp/engine.py
> +++ b/scripts/lib/bsp/engine.py
> @@ -1445,6 +1445,10 @@ def yocto_bsp_list_property_values(arch, property, scripts_path, properties_file
>               gen_fn = input_line.props["gen"]
>               if nested_properties:
>                   context["filename"] = nested_properties[0]
> +                try:
> +                    context["branches_base"] = input_line.props["branches_base"]
> +                except KeyError:
> +                    context["branches_base"] = None
>               values_list = input_line.gen_choices_list(context, False)
>           except KeyError:
>               for choice in input_line.choices:
>
Merged into Poky Master

Thanks
	Sau!


  reply	other threads:[~2012-10-23 19:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 17:22 [PATCH 0/1] Fix for YOCTO #3233 tom.zanussi
2012-10-19 17:22 ` [PATCH 1/1] yocto-bsp: set branches_base for list_property_values() tom.zanussi
2012-10-23 19:12   ` Saul Wold [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-13 21:27 [PATCH 0/1] [poky/denzil] yocto-bsp bugfix ported from master tom.zanussi
2012-12-13 21:27 ` [PATCH 1/1] yocto-bsp: set branches_base for list_property_values() tom.zanussi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5086EC3A.7020507@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=poky@yoctoproject.org \
    --cc=tom.zanussi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.