Commit 79c78975 authored by hinoka@chromium.org's avatar hinoka@chromium.org

Remove --no_resume from download_from_google_storage.py

This doesn't actually look like it's used.

BUG=

Review URL: https://codereview.chromium.org/1747443002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298997 0039d316-1c4b-4281-b951-d872f2087c98
parent 35c61458
......@@ -374,7 +374,8 @@ def main(args):
parser.add_option('-e', '--boto',
help='Specify a custom boto file.')
parser.add_option('-c', '--no_resume', action='store_true',
help='Resume download if file is partially downloaded.')
help='DEPRECATED: Resume download if file is '
'partially downloaded.')
parser.add_option('-f', '--force', action='store_true',
help='Force download even if local file exists.')
parser.add_option('-i', '--ignore_errors', action='store_true',
......@@ -500,12 +501,6 @@ def main(args):
else:
parser.error('Unreachable state.')
# Check if output file already exists.
if not options.directory and not options.force and not options.no_resume:
if os.path.exists(options.output):
parser.error('Output file %s exists and --no_resume is specified.'
% options.output)
base_url = 'gs://%s' % options.bucket
return download_from_google_storage(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment