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
diff --git a/download_from_google_storage.py b/download_from_google_storage.py
index 1c7ff5e..999ef72 100755
--- a/download_from_google_storage.py
+++ b/download_from_google_storage.py
@@ -119,7 +119,7 @@
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):