| Index: upload_to_google_storage.py
|
| diff --git a/upload_to_google_storage.py b/upload_to_google_storage.py
|
| index 35bc039364eaf89d9aa8036cfcdd751543d91f9f..570371324039a5583db88356d2cbf7ea341cd156 100755
|
| --- a/upload_to_google_storage.py
|
| +++ b/upload_to_google_storage.py
|
| @@ -245,8 +245,10 @@ def main(args):
|
| parser.error('gsutil not found in %s, bad depot_tools checkout?' %
|
| GSUTIL_DEFAULT_PATH)
|
|
|
| + base_url = 'gs://%s' % options.bucket
|
| +
|
| # Check we have a valid bucket with valid permissions.
|
| - base_url, code = check_bucket_permissions(options.bucket, gsutil)
|
| + code = check_bucket_permissions(base_url, gsutil)
|
| if code:
|
| return code
|
|
|
|
|