diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2024-10-08 13:03:14 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 12:17:36 +0100 |
commit | 0f83df527d6cac2a1eae7fc011ece1fb05daf2a0 (patch) | |
tree | d4f6235fab6ea780663137e93fa79c17a37260f1 /scripts/lib/scriptpath.py | |
parent | 331270628c58b4cfce788c599eed608e46607c75 (diff) | |
download | poky-0f83df527d6cac2a1eae7fc011ece1fb05daf2a0.tar.gz |
bitbake: bitbake-server: use with to avoid ResourceWarning
Prevents the following warning in bitbake-cookerdaemon.log:
2386729 10:54:16.195427 Exiting (socket: True)
2386729 10:54:16.201065 Exiting as we could obtain the lock
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/laplante/main_yocto/build/bitbake-cookerdaemon.log' mode='a+' encoding='UTF-8'>
(Bitbake rev: 8dbf1ec8139d9dd7f52c1773cccbe7696b3ec1b4)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions