]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass: Infinite recursion of or nodes
authorBeth Flanagan <elizabeth.flanagan@intel.com>
Sat, 28 May 2011 23:39:35 +0000 (16:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 May 2011 08:39:37 +0000 (09:39 +0100)
commit160621bd9679201e352cc80b22aa2f6e25827576
tree325aaa996b67aaa153379fe488b2e54511a31d97
parent2a90a3a41978a5470962b315e007351b8e80820c
license.bbclass: Infinite recursion of or nodes

This fixes two bugs. When populate_lic was hitting | it was going
into an infinite recursion of the node.

Also, some LICENSE fields may start with "(". We want to avoid
invalid python syntax here, so we strip out the whitespace.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
meta/classes/license.bbclass