diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2021-08-30 08:05:30 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-04 08:46:35 +0100 |
commit | 5a9c5c47e0eda61cf4efa36f65cc9f93a3cc836a (patch) | |
tree | 52e4ac5e88e4b8f4941cb2b078b085febd148c1d /documentation/dev-manual | |
parent | 4d3692b5a7e37f066dc995bf6aabec55db72f5ec (diff) | |
download | poky-5a9c5c47e0eda61cf4efa36f65cc9f93a3cc836a.tar.gz |
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 <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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:: | |||
3486 | 3486 | ||
3487 | pydevshell> d.getVar("STAGING_DIR") | 3487 | pydevshell> d.getVar("STAGING_DIR") |
3488 | '/media/build1/poky/build/tmp/sysroots' | 3488 | '/media/build1/poky/build/tmp/sysroots' |
3489 | pydevshell> d.getVar("STAGING_DIR") | 3489 | pydevshell> d.getVar("STAGING_DIR", False) |
3490 | '${TMPDIR}/sysroots' | 3490 | '${TMPDIR}/sysroots' |
3491 | pydevshell> d.setVar("FOO", "bar") | 3491 | pydevshell> d.setVar("FOO", "bar") |
3492 | pydevshell> d.getVar("FOO") | 3492 | pydevshell> d.getVar("FOO") |