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-02 04:47:13 -1000
commit4b5f2ecf67f5eda9f3f2be6cd0767966094a28ab (patch)
tree7ff47fdd85fbdf13ffca62f9a46af925ea8876b1 /meta/recipes-devtools
parentc094bb4a464b476edae994d2e9fe760437707aad (diff)
downloadpoky-4b5f2ecf67f5eda9f3f2be6cd0767966094a28ab.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: 3a79a210665efae1af6d68e9e923a739c82d800e) 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: