]> code.ossystems Code Review - openembedded-core.git/commit
sstate: Fix bugs after new fetcher
authorZhai Edwin <edwin.zhai@intel.com>
Fri, 11 Feb 2011 13:55:07 +0000 (21:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Feb 2011 14:07:49 +0000 (14:07 +0000)
commit49a18f1748d2417958b8e19cdd58c0c79f4fc728
treeca91e160ea19361f11c0835a95d4433440103fff
parent05d8b6422dc3154b2890f8db3f919faec4457d6f
sstate: Fix bugs after new fetcher

Current sstate's fetch code doesn't reflect latest fetcher changes, so old
fetch style cause exception and fail silently.

[BUGID #708] got fixed.

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".

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
meta/classes/sstate.bbclass