projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4823: Another merge conflict test.
[arvados.git]
/
sdk
/
python
/
bin
/
arv-get
diff --git
a/sdk/python/bin/arv-get
b/sdk/python/bin/arv-get
index 0059f3faef01046cfbdb308a5f72bea071d58ea6..2451416dae38da1932f22fb7c6599b8a82e55110 100755
(executable)
--- 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)
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 = []
# 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:
sys.stderr.write("%s %s/%s\n"
% (digestor.hexdigest(), s.name(), f.name()))
except KeyboardInterrupt:
- if outfile and outfile != '/dev/stdout':
+ if outfile and outfile
name
!= '/dev/stdout':
os.unlink(outfilename)
break
os.unlink(outfilename)
break