From: Daiane Angolini <daiane.angolini@freescale.com>
To: <alex@lindusembedded.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-fsl-arm][PATCH] fsl-eula-unpack: Avoid unbound local exception.
Date: Tue, 4 Dec 2012 08:41:17 -0200 [thread overview]
Message-ID: <50BDD34D.2090300@freescale.com> (raw)
In-Reply-To: <1354616545-22818-2-git-send-email-alex@lindusembedded.com>
On 12/04/2012 08:22 AM, alex@lindusembedded.com wrote:
> From: Alex Gonzalez <alex@lindusembedded.com>
>
> This commit fixes an unbound local exception caused by save_cwd not
> being defined when fsl-eula is not true.
> ---
Thanks a lot for the patch.
Which board did you test?
(I will test for another one)
Daiane
> classes/fsl-eula-unpack.bbclass | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
> index 7a6a554..6660a88 100644
> --- a/classes/fsl-eula-unpack.bbclass
> +++ b/classes/fsl-eula-unpack.bbclass
> @@ -18,6 +18,7 @@ python fsl_bin_do_unpack() {
> fetcher = bb.fetch2.Fetch(src_uri, localdata)
>
> for url in fetcher.ud.values():
> + save_cwd = os.getcwd()
> # Check for supported fetchers
> if url.type in ['http', 'https', 'ftp', 'file']:
> if url.parm.get('fsl-eula', False):
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
next prev parent reply other threads:[~2012-12-04 10:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-04 10:22 [meta-fsl-arm][PATCH] fsl-eula-unpack: Avoid unbound local exception alex
2012-12-04 10:22 ` alex
2012-12-04 10:41 ` Daiane Angolini [this message]
2012-12-04 10:54 ` Alex Gonzalez
2012-12-04 11:04 ` Otavio Salvador
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=50BDD34D.2090300@freescale.com \
--to=daiane.angolini@freescale.com \
--cc=alex@lindusembedded.com \
--cc=meta-freescale@yoctoproject.org \
/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.