Skip to contentSkip to conversation

python3: fix missing comma in get_module_deps3.py

PATCH New [email protected] 1 participant 1 message Jul 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: fix missing comma in get_module_deps3.py

From: Ross Burton <[email protected]>

Wes Tarro <[email protected]> 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.

---
 meta/recipes-devtools/python/python3/get_module_deps3.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3/get_module_deps3.py +1 -1
index 0ca687d2eb3..8e432b49af8 100644
@@ -32,7 +32,7 @@ def fix_path(dep_path):
     dep_path = dep_path[dep_path.find(pivot)+len(pivot):]
 
     if '/usr/bin' in dep_path:
-        dep_path = dep_path.replace('/usr/bin''${bindir}')
+        dep_path = dep_path.replace('/usr/bin','${bindir}')
 
     # Handle multilib, is there a better way?
     if '/usr/lib32' in dep_path:
Signature · 1 line
2.34.1