summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build_image.py
diff options
context:
space:
mode:
authorPaulo Neves <paulo@myneves.com>2023-02-17 17:01:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-22 12:03:39 +0000
commit97b258985a59fd4cfe982f694f95018dcab22c61 (patch)
treeee4a81d23ac4903d0e1045eae855365957ee2f57 /scripts/lib/devtool/build_image.py
parentd085dcb4499750d45a2b429d836eefa347cd2450 (diff)
downloadpoky-97b258985a59fd4cfe982f694f95018dcab22c61.tar.gz
bitbake: fetch/git: Replace mkdtemp with TemporaryDirectory and avoid exception masking
Due to using mkdtemp instead of TemporaryDirectory we needed to manually cleanup the directory in a try finally block. With tempfile.TemporaryDirectory we can handle the cleanup with a "with" statement and not need to manually clean up oursevels. (Bitbake rev: 36a231d2a45e7c87172196538d18ded81a234774) Signed-off-by: Paulo Neves <paulo@myneves.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_image.py')
0 files changed, 0 insertions, 0 deletions