projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
604a84d
)
4877: don't delete /dev/stdout
author
Tim Pierce <twp@curoverse.com>
Tue, 30 Dec 2014 21:45:42 +0000
(16:45 -0500)
committer
Tim Pierce <twp@curoverse.com>
Tue, 30 Dec 2014 21:45:42 +0000
(16:45 -0500)
Fixed the filename check before trying to delete /dev/stdout.
sdk/python/bin/arv-get
patch
|
blob
|
history
diff --git
a/sdk/python/bin/arv-get
b/sdk/python/bin/arv-get
index 272fa84a430f4c8c54f5d8d33a75b13f7525a81e..2451416dae38da1932f22fb7c6599b8a82e55110 100755
(executable)
--- a/
sdk/python/bin/arv-get
+++ b/
sdk/python/bin/arv-get
@@
-216,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 outfile
name
!= '/dev/stdout':
os.unlink(outfilename)
break