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>
This commit is contained in:
Khem Raj 2023-05-03 08:29:17 -07:00
parent f3cdc9d7ee
commit 5d33d2c530

View File

@ -56,7 +56,7 @@ def gitpkgv_drop_tag_prefix(d, version):
def get_git_pkgv(d, use_tags):
import os
import bb
from pipes import quote
from shlex import quote
src_uri = d.getVar('SRC_URI').split()
fetcher = bb.fetch2.Fetch(src_uri, d)