Re: [yocto] default variables in a python task/function

2012-06-22 Thread Chris Larson
On Wed, Jun 20, 2012 at 8:46 AM, Joshua Immanuel j...@hipro.co.in wrote: Hello, Considering the following code snippet variants of a recipe which does the same job, I would like to clarify certain doubts regarding this. python __anonymous () {        pn_split = d.getVar('PN',

[yocto] default variables in a python task/function

2012-06-20 Thread Joshua Immanuel
Hello, Considering the following code snippet variants of a recipe which does the same job, I would like to clarify certain doubts regarding this. python __anonymous () { pn_split = d.getVar('PN', True).split('-') ... } python __anonymous () { import bb pn_split