mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
Fix bytes/string py3 confusion.
This commit is contained in:
parent
8d0320de75
commit
a2356ef105
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def get_taskcluster_secret(name):
|
|||
|
||||
def otool(s):
|
||||
o = subprocess.Popen(['/usr/bin/otool', '-L', s], stdout=subprocess.PIPE)
|
||||
for line in o.stdout:
|
||||
for line in map(lambda s: s.decode('ascii'), o.stdout):
|
||||
if line[0] == '\t':
|
||||
yield line.split(' ', 1)[0][1:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue