X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/37404e821668b6b9b1952a0a5a3b28901835884b..ef2d368867bfae2ca702184c57a8cd873f1c4e43:/sdk/python/bin/arv-get diff --git a/sdk/python/bin/arv-get b/sdk/python/bin/arv-get index 0059f3faef..2451416dae 100755 --- a/sdk/python/bin/arv-get +++ b/sdk/python/bin/arv-get @@ -143,6 +143,8 @@ if not get_prefix: abort("failed to download '{}': {}".format(collection, error)) sys.exit(0) +reader.normalize() + # Scan the collection. Make an array of (stream, file, local # destination filename) tuples, and add up total size to extract. todo = [] @@ -214,7 +216,7 @@ for s,f,outfilename in todo: sys.stderr.write("%s %s/%s\n" % (digestor.hexdigest(), s.name(), f.name())) except KeyboardInterrupt: - if outfile and outfile != '/dev/stdout': + if outfile and outfilename != '/dev/stdout': os.unlink(outfilename) break