base.bbclass: Work even when there's no PNBLACKLIST entries
authorPeter Seebach <peter.seebach@windriver.com>
Thu, 16 Aug 2012 16:50:45 +0000 (11:50 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Aug 2012 10:33:20 +0000 (11:33 +0100)
commit94f886398320e7f4f1f906b6396b6c3fa6bea925
treedb027c594b52926e572df21e9a5d4d77525781ae
parent97c972c968cde765e250d7f8ab4eeb067590b7cb
base.bbclass: Work even when there's no PNBLACKLIST entries

It turns out that the result of getVarFlags is not a list, it's
a dict. So "getVarFlags(...) or []" does not reliably produce
something with a .items. This escaped detection because our
local build environment never ends up running builds without
PNBLACKLIST entries.

(From OE-Core rev: 491df239170dd20f3e91df6bc1ead2945a78e075)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass