From 5a9c5c47e0eda61cf4efa36f65cc9f93a3cc836a Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Mon, 30 Aug 2021 08:05:30 -0400 Subject: dev-manual: pass False to d.getVar() for devpyshell example In the example in section 3.9, the call to d.getVar() needs to have the additional argument of "False" so that the output is not expanded. (From yocto-docs rev: ae364e76a322278e7fe37aeecaa5e854d0a0efee) Signed-off-by: Robert P. J. Day Reviewed-by: Quentin Schulz Tested-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/dev-manual/common-tasks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index dba0885110..1acca8e64c 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst @@ -3486,7 +3486,7 @@ functions:: pydevshell> d.getVar("STAGING_DIR") '/media/build1/poky/build/tmp/sysroots' - pydevshell> d.getVar("STAGING_DIR") + pydevshell> d.getVar("STAGING_DIR", False) '${TMPDIR}/sysroots' pydevshell> d.setVar("FOO", "bar") pydevshell> d.getVar("FOO") -- cgit v1.2.3-54-g00ecf