projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
753c144
)
6593: Typo fix in KeyboardInterrupt handling.
author
Peter Amstutz <peter.amstutz@curoverse.com>
Mon, 27 Jul 2015 14:37:32 +0000
(10:37 -0400)
committer
Peter Amstutz <peter.amstutz@curoverse.com>
Mon, 27 Jul 2015 14:37:32 +0000
(10:37 -0400)
sdk/python/bin/arv-get
patch
|
blob
|
history
diff --git
a/sdk/python/bin/arv-get
b/sdk/python/bin/arv-get
index 0d817e2ebd473ef30c0431ffb7e1b45ae42b5544..60d4bec3b95c429643d7df4a600f72754954809a 100755
(executable)
--- a/
sdk/python/bin/arv-get
+++ b/
sdk/python/bin/arv-get
@@
-225,8
+225,8
@@
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.fileno() > 2) and
(not outfile.closed())
:
- os.unlink(outfilename)
+ if outfile and (outfile.fileno() > 2) and
not outfile.closed
:
+ os.unlink(outfile
.
name)
break
if args.progress: