aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/package_commands.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2021-05-03 00:07:33 -0400
committerJosh Matthews <josh@joshmatthews.net>2021-05-03 00:07:33 -0400
commita2356ef105cafa2be9ff91bc224e6408ee3f5beb (patch)
treea2aa10abe7123cdb45174959251d538d0b319f6b /python/servo/package_commands.py
parent8d0320de75f69550b78ca8000d7f928d9936b343 (diff)
downloadservo-a2356ef105cafa2be9ff91bc224e6408ee3f5beb.tar.gz
servo-a2356ef105cafa2be9ff91bc224e6408ee3f5beb.zip
Fix bytes/string py3 confusion.
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r--python/servo/package_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index 40347661761..02c29ba4d23 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -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:]