]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool/create_buildsys_python: use importlib instead of imp
authorChris Laplante <chris.laplante@agilent.com>
Tue, 3 Oct 2023 20:19:54 +0000 (16:19 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Oct 2023 10:50:54 +0000 (11:50 +0100)
commit457f0dad87b4e45a53865b5ad2c150215bd74019
treeba540cfd91cfa5105c426756a58d7b096b9a9253
parentde62d538dbfe6caf123ff366643f893077175583
recipetool/create_buildsys_python: use importlib instead of imp

'imp' was deprecated in Python 3.4 and removed in 3.12. The
piece of importlib we use has been around since 3.3.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_buildsys_python.py