From 1fddd11b2db0558b982d27fb84b95a0c2f7525ee Mon Sep 17 00:00:00 2001 From: "hinoka@chromium.org" Date: Thu, 5 Jun 2014 20:20:03 +0000 Subject: [PATCH] Fix for authenticating to internal repos Last patch (https://codereview.chromium.org/313933005/) forgot to take into account using a boto file (setting boto to os.devnull means connect unauthenticated, setting it to None will allow it to do the default behavior) This patch will always use a boto file, which should be fine. BUG=261741 Review URL: https://codereview.chromium.org/314203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@275230 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/git_cache.py b/git_cache.py index 0492a4657..255ed3a9b 100755 --- a/git_cache.py +++ b/git_cache.py @@ -252,8 +252,7 @@ class Mirror(object): python_fallback = True gs_folder = 'gs://%s/%s' % (self.bootstrap_bucket, self.basedir) - gsutil = Gsutil( - self.gsutil_exe, boto_path=os.devnull, bypass_prodaccess=True) + gsutil = Gsutil(self.gsutil_exe, bypass_prodaccess=True) # Get the most recent version of the zipfile. _, ls_out, _ = gsutil.check_call('ls', gs_folder) ls_out_sorted = sorted(ls_out.splitlines())