summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build.py
diff options
context:
space:
mode:
authorChris Laplante <chris.laplante@agilent.com>2024-11-25 12:22:04 -0500
committerSteve Sakoman <steve@sakoman.com>2024-11-30 05:41:59 -0800
commit87e1004fc4d1274824b8ece09ea04876ac0126ca (patch)
tree1a0c85264b6210cbf95f79fb0c7b4d3cb0333eb2 /scripts/lib/devtool/build.py
parentd28c963ec40587cea2d82dde43f0612f0faef12f (diff)
downloadpoky-87e1004fc4d1274824b8ece09ea04876ac0126ca.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: 9602a684568910fd333ffce907fa020ad3661c26) 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/build.py')
0 files changed, 0 insertions, 0 deletions