From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Zhai Edwin <edwin.zhai@intel.com>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 0/1] Fix sstate error
Date: Fri, 11 Feb 2011 14:09:34 +0000 [thread overview]
Message-ID: <1297433374.20543.10587.camel@rex> (raw)
In-Reply-To: <cover.1297432560.git.edwin.zhai@intel.com>
On Fri, 2011-02-11 at 22:01 +0800, Zhai Edwin wrote:
> From: Zhai Edwin <edwin.zhai@intel.com>
>
> RP,
> Current sstate's fetch code doesn't reflect latest fetcher changes, so old
> fetch style cause exception and fail silently. This patch fix it.
I've merged the fix to master, thanks.
> Another issue is "import xxx" in python function from sstate.bbclass can only
> sit in the head of the function, else have UnboundLocalError: "local variable
> XXX referenced before assignment".
>
> We don't know if it is a known limitation of *.bbclass or some potential bug.
> Can you give some comments?
Good question. The import should really always be at the top of the code
block in question so I think its a python constraint, not a .bbclass
one...
Cheers,
Richard
next prev parent reply other threads:[~2011-02-11 14:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 14:01 [PATCH 0/1] Fix sstate error Zhai Edwin
2011-02-11 14:01 ` [PATCH 1/1] sstate: Fix bugs after new fetcher Zhai Edwin
2011-02-11 14:09 ` Richard Purdie [this message]
2011-02-11 14:42 ` [PATCH 0/1] Fix sstate error Zhai, Edwin
2011-02-11 14:54 ` Richard Purdie
2011-02-12 0:20 ` Zhai, Edwin
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=1297433374.20543.10587.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=edwin.zhai@intel.com \
--cc=poky@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.