From: Brett Smith Date: Wed, 6 Aug 2014 21:28:12 +0000 (-0400) Subject: 3427: Restore arv-put's resume functionality. X-Git-Tag: 1.1.0~2369 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/7962de491af28d00a9c88412ad4d1e42be83432a 3427: Restore arv-put's resume functionality. The refactoring in 0d1a48e accidentally introduced a bug where arv-put wipes its resume cache clean before building the uploader. Because the refactor always arranges `resume_cache = None` when the user doesn't want to resume, we can fix the bug by just skipping the wipe. Closes #3427. --- diff --git a/sdk/python/arvados/commands/put.py b/sdk/python/arvados/commands/put.py index 55bf7fcc0f..fa648dac45 100644 --- a/sdk/python/arvados/commands/put.py +++ b/sdk/python/arvados/commands/put.py @@ -412,7 +412,6 @@ def main(arguments=None, stdout=sys.stdout, stderr=sys.stderr): if resume_cache is None: writer = ArvPutCollectionWriter(resume_cache, reporter, bytes_expected) else: - resume_cache.restart() writer = ArvPutCollectionWriter.from_cache( resume_cache, reporter, bytes_expected)