diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2024-11-25 12:19:09 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-12-02 06:23:19 -0800 |
commit | 186ec250da9b8d41288001e0cf1447295fd97a9c (patch) | |
tree | 93afd7ccd5ea9db25f92e1c8a847bb3db6dc9261 /scripts/lib/devtool/menuconfig.py | |
parent | 8a495b86c82bd1121a2f8c685068da590a0116a6 (diff) | |
download | poky-186ec250da9b8d41288001e0cf1447295fd97a9c.tar.gz |
bitbake: fetch2: use persist_data context managers
Python 3.13 emits a ResourceWarning for unclosed sqlite3 `Connection`s.
See https://docs.python.org/3/whatsnew/3.13.html#sqlite3
The previous commit fixed persist_data's context manager to close the
connection, but we were never actually using `with` in the first place.
This change is not necessary on 'master' because persist_data was
removed.
(Bitbake rev: 9789c55ecc90ba074596061fa16e90d3e8accb02)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
(cherry picked from commit 61f803c7d92a012b62837b0cdae4789a394b260e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/menuconfig.py')
0 files changed, 0 insertions, 0 deletions