mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
gitpkgv: Fix python deprecation warning
Fixes DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13 pipes is an alias for shlex therefore switch to using shlex Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -56,7 +56,7 @@ def gitpkgv_drop_tag_prefix(d, version):
|
|||||||
def get_git_pkgv(d, use_tags):
|
def get_git_pkgv(d, use_tags):
|
||||||
import os
|
import os
|
||||||
import bb
|
import bb
|
||||||
from pipes import quote
|
from shlex import quote
|
||||||
|
|
||||||
src_uri = d.getVar('SRC_URI').split()
|
src_uri = d.getVar('SRC_URI').split()
|
||||||
fetcher = bb.fetch2.Fetch(src_uri, d)
|
fetcher = bb.fetch2.Fetch(src_uri, d)
|
||||||
|
|||||||
Reference in New Issue
Block a user