diff options
Diffstat (limited to 'bitbake/doc/manual')
-rw-r--r-- | bitbake/doc/manual/usermanual.xml | 2 |
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" |