Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/gsutil/gsutil

Issue 68763013: Remove code in gsutil that removes http_proxy from the env var (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/gsutil/README.chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/gsutil
diff --git a/third_party/gsutil/gsutil b/third_party/gsutil/gsutil
index ac0b76525838d4dd21d18cd69a493f9010e21ab6..aca0c7809409cdc81749b558dc1418b667885541 100755
--- a/third_party/gsutil/gsutil
+++ b/third_party/gsutil/gsutil
@@ -186,14 +186,6 @@ def main():
else:
command_name = args[0]
- # Unset http_proxy environment variable if it's set, because it confuses
- # boto. (Proxies should instead be configured via the boto config file.)
- if 'http_proxy' in os.environ:
- if debug > 1:
- sys.stderr.write(
- 'Unsetting http_proxy environment variable within gsutil run.\n')
- del os.environ['http_proxy']
-
return _RunNamedCommandAndHandleExceptions(command_runner, command_name,
args[1:], headers, debug,
parallel_operations)
« no previous file with comments | « third_party/gsutil/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698