diff options
author | Ross Burton <ross@burtonini.com> | 2021-08-10 17:55:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-12 06:28:01 +0100 |
commit | 62098f90411ca6775d3d7d70a8a641ce35dc9f84 (patch) | |
tree | a919513115e8c9c5d26abef520769ee303c6c164 /bitbake/lib/codegen.py | |
parent | 0975ff9b69b9ee86d6554f96b391a0186761a3cc (diff) | |
download | poky-62098f90411ca6775d3d7d70a8a641ce35dc9f84.tar.gz |
bitbake: utils: add environment updating context manager
bb.utils.environment() is a context manager to alter os.environ inside
a specific block, restoring it after the block is closed.
(Bitbake rev: 9974848f67581ff7d76cef52a94f505af99b4932)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/codegen.py')
0 files changed, 0 insertions, 0 deletions