Message ID | 20230503154349.93589-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] gitpkgv: Fix python deprecation warning | expand |
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass index 180421ed35..cb2cea26be 100644 --- a/meta-oe/classes/gitpkgv.bbclass +++ b/meta-oe/classes/gitpkgv.bbclass @@ -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)
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> --- meta-oe/classes/gitpkgv.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)