On Wed, Feb 1, 2012 at 11:16 AM, Otavio Salvador
wrote:
> On Wed, Feb 1, 2012 at 16:15, Andreas Müller
> wrote:
>>
>> another stupid question from my side:
>>
>> do
>>
>> bb.data.getVar('foo', d, 1)
>>
>> and
>>
>> d.getVar('foo', 1)
>>
>> access the same data?
>
>
> It does but the later is supp
On Wed, Feb 1, 2012 at 7:24 PM, Martin Jansa wrote:
> On Wed, Feb 01, 2012 at 07:15:19PM +0100, Andreas Müller wrote:
>> another stupid question from my side:
>>
>> do
>>
>> bb.data.getVar('foo', d, 1)
>>
>> and
>>
>> d.getVar('foo', 1)
>>
>> access the same data?
>
> Should be and later is prefer
another stupid question from my side:
do
bb.data.getVar('foo', d, 1)
and
d.getVar('foo', 1)
access the same data?
Thanks in advance
Andreas
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-
On Wed, Feb 01, 2012 at 07:15:19PM +0100, Andreas Müller wrote:
> another stupid question from my side:
>
> do
>
> bb.data.getVar('foo', d, 1)
>
> and
>
> d.getVar('foo', 1)
>
> access the same data?
Should be and later is preferred AFAIK, see:
http://git.openembedded.org/openembedded-core/co
On 01/02/12 10:15, Andreas Müller wrote:
another stupid question from my side:
do
bb.data.getVar('foo', d, 1)
and
d.getVar('foo', 1)
access the same data?
Yes.
The first is calling the class method and passing in an instance of a
data object, the second is calling the method on the objec
On Wed, Feb 1, 2012 at 16:15, Andreas Müller
wrote:
> another stupid question from my side:
>
> do
>
> bb.data.getVar('foo', d, 1)
>
> and
>
> d.getVar('foo', 1)
>
> access the same data?
>
It does but the later is supported on recent bitbake versions only.
--
Otavio Salvador