]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patch.py: Use shlex instead of deprecated pipe
authorSteve Sakoman <steve@sakoman.com>
Tue, 24 Oct 2023 14:25:53 +0000 (04:25 -1000)
committerSteve Sakoman <steve@sakoman.com>
Tue, 24 Oct 2023 14:30:36 +0000 (04:30 -1000)
commita6ef13bdad40826d76a3331cd0878bb22510f375
tree8945772b44c2cd606b78f4ff0b271d34c8ecec5a
parent33d3374a7149ad1afe86d86c0dc2a948f70e26bd
patch.py: Use shlex instead of deprecated pipe

The pipe library is deprecated in Python 3.11 and will be removed in
Python 3.13.  pipe.quote is just an import of shlex.quote anyway.

Clean up imports while we're at it.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 5f33c7b99a991c380d1813da8248ba5470ca4d4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/patch.py