Commit 5c3e5828 authored by pcc's avatar pcc Committed by Commit bot

Remove stderr redirect hack from build/download_gold_plugin.py.

It is no longer necessary now that crbug.com/494442 is fixed.

BUG=494442,615538
R=thakis@chromium.org

Review-Url: https://codereview.chromium.org/2023073002
Cr-Commit-Position: refs/heads/master@{#396930}
parent eeabde24
......@@ -34,13 +34,8 @@ def main():
os.chdir(LLVM_BUILD_PATH)
# TODO(pcc): Fix gsutil.py cp url file < /dev/null 2>&0
# (currently aborts with exit code 1,
# https://github.com/GoogleCloudPlatform/gsutil/issues/289) or change the
# stdin->stderr redirect in update.py to do something else (crbug.com/494442).
subprocess.check_call(['python', GSUTIL_PATH,
'cp', remote_path, targz_name],
stderr=open('/dev/null', 'w'))
'cp', remote_path, targz_name])
subprocess.check_call(['tar', 'xzf', targz_name])
os.remove(targz_name)
return 0
......
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