From af2591b71cbbefcf7643e4c5f007bd5f1e754527 Mon Sep 17 00:00:00 2001 From: "ojan@chromium.org" Date: Thu, 4 Dec 2014 23:03:04 +0000 Subject: [PATCH] Fixed download_from_google_storage for real. check_bucket_permissions should no longer return a tuple. TBR=vadimsh@chromium.org Review URL: https://codereview.chromium.org/759013007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293255 0039d316-1c4b-4281-b951-d872f2087c98 --- download_from_google_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_from_google_storage.py b/download_from_google_storage.py index 1c7ff5e144..999ef722a8 100755 --- a/download_from_google_storage.py +++ b/download_from_google_storage.py @@ -119,7 +119,7 @@ def check_bucket_permissions(base_url, gsutil): print >> sys.stderr, 'Try running "download_from_google_storage --config".' elif code == 404: print >> sys.stderr, '%s not found.' % base_url - return (base_url, code) + return code def check_platform(target):