BUG=v8:4254
LOG=n
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
1220333004
Cr-Commit-Position: refs/heads/master@{#29513}
try:
# In python 2.7.6 on windows, urlopen has a problem with redirects.
# Try using curl instead. Note, this is fixed in 2.7.8.
- subprocess.check_call(["curl", source, '-L', '-o', destination])
+ subprocess.check_call(["curl", source, '-k', '-L', '-o', destination])
return
except:
# If there's no curl, fall back to urlopen.