diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-07-05 11:34:34 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-10 11:36:34 +0100 |
| commit | f622013d3fcde59840f29baaf30287d3444696f1 (patch) | |
| tree | e8ee78dc01350756bec143f7b641de99c11c166c /meta/recipes-devtools/python | |
| parent | b2fdcd72a9d69f0d205176336fea5e91ffb6a240 (diff) | |
| download | poky-f622013d3fcde59840f29baaf30287d3444696f1.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: 9b2e2c8d809e7ca34451ec9702b029a00dfb410b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3/get_module_deps3.py | 2 |
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: |
