]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
documentation: cleanup d.getVar(var, 1) rbt/doc
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 6 Sep 2016 06:53:09 +0000 (23:53 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 12 Sep 2016 08:32:34 +0000 (01:32 -0700)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
documentation/dev-manual/dev-manual-common-tasks.xml

index bd11062c41562ecec0efd7e2a69b8bd50d5722a3..f06c9a8830cd12f82d18bdd1154de894c3438d28 100644 (file)
                         <filename>${@<replaceable>python_code</replaceable>}</filename>
                         syntax for the variable assignment:
                         <literallayout class='monospaced'>
-     SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz
+     SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV', True).replace('.', '')}.tgz
                         </literallayout>
                         </para></listitem>
                     <listitem><para><emphasis>Shell Function Syntax:</emphasis>