bitbake/manual/usermanual.xml:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 30 Jul 2005 11:52:20 +0000 (11:52 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 30 Jul 2005 11:52:20 +0000 (11:52 +0000)
    -Update 1 to True to catch up with python 2.2 ;)

doc/manual/usermanual.xml

index 5c86f1e..4fa3d1c 100644 (file)
@@ -160,7 +160,7 @@ will be introduced.</para>
                 <title>Defining python functions into the global python namespace</title>
                 <para><emphasis>NOTE:</emphasis> This is only supported in .bb and .bbclass files.</para>
                 <para><screen>def get_depends(bb, d):
-    if bb.data.getVar('SOMECONDITION', d, 1):
+    if bb.data.getVar('SOMECONDITION', d, True):
         return "dependencywithcond"
     else:
         return "dependency"