Commit 5b8bc6f8 authored by Arkadiy Shapkin's avatar Arkadiy Shapkin

Downloading throw proxy fixed http://stackoverflow.com/a/18790045/61505

--HG--
extra : rebase_source : b4dced905dbe7206c15ae35ccdae9c400637efa2
parent 2ad82994
......@@ -169,7 +169,7 @@ def download_file_powershell(url, target):
cmd = [
'powershell',
'-Command',
"(new-object System.Net.WebClient).DownloadFile(%(url)r, %(target)r)" % vars(),
"[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials; (new-object System.Net.WebClient).DownloadFile(%(url)r, %(target)r)" % vars(),
]
_clean_check(cmd, target)
......
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