X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0d1a48e90dfbbdf1f8bb6e08d634e70e38223ff6..7962de491af28d00a9c88412ad4d1e42be83432a:/sdk/python/arvados/commands/put.py diff --git a/sdk/python/arvados/commands/put.py b/sdk/python/arvados/commands/put.py index 5fe5be8336..fa648dac45 100644 --- a/sdk/python/arvados/commands/put.py +++ b/sdk/python/arvados/commands/put.py @@ -404,14 +404,14 @@ def main(arguments=None, stdout=sys.stdout, stderr=sys.stderr): except (IOError, OSError, ValueError): pass # Couldn't open cache directory/file. Continue without it. except ResumeCacheConflict: - stdout.write( - "arv-put: Another process is already uploading this data.\n") + print >>stderr, "\n".join([ + "arv-put: Another process is already uploading this data.", + " Use --no-resume if this is really what you want."]) sys.exit(1) 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)