[poky] [PATCH 1/1] documentation: cleanup d.getVar(var, 1)
Robert Yang
liezhi.yang at windriver.com
Mon Sep 12 01:34:20 PDT 2016
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
documentation/dev-manual/dev-manual-common-tasks.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index bd11062..f06c9a8 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -1722,7 +1722,7 @@
<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>
--
2.9.0
More information about the poky
mailing list