On Tue, Jan 29, 2013 at 8:59 AM, Martin Jansa <martin.ja...@gmail.com>wrote:

> > We do have an existing mechanism for handling boolean variables in a sane
> > way, as an FYI.
> >
> > LICENSE_CREATE_PACKAGE[type] = "boolean"
> >
> > LICENSE_CREATE_PACKAGE = "1"
> > oe.data.typed_value(d, 'LICENSE_CREATE_PACKAGE') == True
> > LICENSE_CREATE_PACKAGE = "0"
> > oe.data.typed_value(d, 'LICENSE_CREATE_PACKAGE') == False
>
> I did the same and now it's failing with:
> AttributeError: 'str' object has no attribute 'getVarFlag'
>
> here is last version
> http://bpaste.net/show/73667/


Ah, I probably remembered the argument order for typed_value wrong :)
-- 
Christopher Larson
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to