diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2024-11-25 12:12:04 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-12-06 05:50:24 -0800 |
commit | 1876097252d066a523ed8a3031322129f8f38498 (patch) | |
tree | 1a57d43430da3e1d522a6eead8db9d3433a27ded /scripts/lib/devtool/utilcmds.py | |
parent | 52d9241ee5e02879aa3f751b4e3c92e8a8a4e78c (diff) | |
download | poky-1876097252d066a523ed8a3031322129f8f38498.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: 6c2641f7a9e92c1b82e306f59ddd3c1249c52cbf)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions