diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2016-05-03 14:55:48 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-29 19:36:02 +0100 |
commit | ae832446d963eb63078a90099284a279520664a4 (patch) | |
tree | 899bbcc2600e2135b1c3456e78f7ab6485bf4083 /scripts/runqemu-extract-sdk | |
parent | ba29029581eaa4534d85c090d6924d24e4386dbc (diff) | |
download | poky-ae832446d963eb63078a90099284a279520664a4.tar.gz |
bitbake: fetch2: Safer check for BB_ORIGENV datastore
BB_ORIGENV value on the datastore can be NoneType thus raising an AttributeError
exception when calling the getVar method. To avoid this, a check is done before
accesing it.
[YOCTO #9567]
(Bitbake rev: f368f5ae64a1681873f3d81f3cb8fb38650367b0)
(Bitbake rev: 25859009b710cb35ac8f9ee9eb3a7305f9e13402)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-extract-sdk')
0 files changed, 0 insertions, 0 deletions