summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-07-05 11:34:34 +0100
committerSteve Sakoman <steve@sakoman.com>2023-08-01 06:17:28 -1000
commit1dccb216a07419a617c1fb6213ddeea60c8c6ccd (patch)
tree10840476b52456cbb19b01a9d8d93f641bb5b142 /meta/recipes-devtools
parent83df23574b1d30805c334aa9422cab3f33943449 (diff)
downloadpoky-1dccb216a07419a617c1fb6213ddeea60c8c6ccd.tar.gz
python3: fix missing comma in get_module_deps3.py
Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a preplace() call, add it. That said, calling replace() with one argument results in a TypeError, so this is obviously dead code. (From OE-Core rev: f24236b7b52dd753d7170bac9c38dff1133db76e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9b2e2c8d809e7ca34451ec9702b029a00dfb410b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3/get_module_deps3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3/get_module_deps3.py b/meta/recipes-devtools/python/python3/get_module_deps3.py
index 0ca687d2eb..8e432b49af 100644
--- a/meta/recipes-devtools/python/python3/get_module_deps3.py
+++ b/meta/recipes-devtools/python/python3/get_module_deps3.py
@@ -32,7 +32,7 @@ def fix_path(dep_path):
32 dep_path = dep_path[dep_path.find(pivot)+len(pivot):] 32 dep_path = dep_path[dep_path.find(pivot)+len(pivot):]
33 33
34 if '/usr/bin' in dep_path: 34 if '/usr/bin' in dep_path:
35 dep_path = dep_path.replace('/usr/bin''${bindir}') 35 dep_path = dep_path.replace('/usr/bin','${bindir}')
36 36
37 # Handle multilib, is there a better way? 37 # Handle multilib, is there a better way?
38 if '/usr/lib32' in dep_path: 38 if '/usr/lib32' in dep_path: