summaryrefslogtreecommitdiffstats
path: root/bitbake/doc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-25 14:57:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-27 10:35:30 +0000
commit4cd96710785eb05abeff1f281878655118d4a7dd (patch)
treef2e15210fa7057df398c6e20ecc51f1d747a12ab /bitbake/doc
parent0a434ac10158e2011d41a1189e65e9474b1672be (diff)
downloadpoky-4cd96710785eb05abeff1f281878655118d4a7dd.tar.gz
bitbake: Update users of getVar/setVar to use the data store functions directly
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
-rw-r--r--bitbake/doc/manual/usermanual.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/doc/manual/usermanual.xml b/bitbake/doc/manual/usermanual.xml
index 687503b1cb..fa53ace45f 100644
--- a/bitbake/doc/manual/usermanual.xml
+++ b/bitbake/doc/manual/usermanual.xml
@@ -186,7 +186,7 @@ include</literal> directive.</para>
186 <title>Defining Python functions into the global Python namespace</title> 186 <title>Defining Python functions into the global Python namespace</title>
187 <para><emphasis>NOTE:</emphasis> This is only supported in .bb and .bbclass files.</para> 187 <para><emphasis>NOTE:</emphasis> This is only supported in .bb and .bbclass files.</para>
188 <para><screen>def get_depends(bb, d): 188 <para><screen>def get_depends(bb, d):
189 if bb.data.getVar('SOMECONDITION', d, True): 189 if d.getVar('SOMECONDITION', True):
190 return "dependencywithcond" 190 return "dependencywithcond"
191 else: 191 else:
192 return "dependency" 192 return "dependency"