mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
tests/docker: fix final missing .encode when parsing solibs
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
884fcafc9c
commit
eea2153ea8
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ def _get_so_libs(executable):
|
|||
libs = []
|
||||
ldd_re = re.compile(r"(/.*/)(\S*)")
|
||||
try:
|
||||
ldd_output = subprocess.check_output(["ldd", executable])
|
||||
ldd_output = subprocess.check_output(["ldd", executable]).decode('utf-8')
|
||||
for line in ldd_output.split("\n"):
|
||||
search = ldd_re.search(line)
|
||||
if search and len(search.groups()) == 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue