Commit 3d82973d authored by Christian Biesinger's avatar Christian Biesinger Committed by Commit Bot

Make sysroot_ld_path.py work with Python 3

R=thakis@chromium.org

Bug: 941669
Change-Id: Ib54429dcbebf65b6274ec294e862deaf77c32194
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842311
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702979}
parent f0445b06
......@@ -17,7 +17,8 @@ if len(sys.argv) != 3:
print("Need two arguments")
sys.exit(1)
result = subprocess.check_output([sys.argv[1], sys.argv[2]]).strip()
result = subprocess.check_output([sys.argv[1],
sys.argv[2]]).strip().decode("utf-8")
result = result.replace(" ", "\n")
if result != "":
print(result)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment