[ARVADOS] created: c7112a98dca78b2e3cc892e0c5f0f02071ac6e50

git at public.curoverse.com git at public.curoverse.com
Tue Dec 30 16:46:30 EST 2014


        at  c7112a98dca78b2e3cc892e0c5f0f02071ac6e50 (commit)


commit c7112a98dca78b2e3cc892e0c5f0f02071ac6e50
Author: Tim Pierce <twp at curoverse.com>
Date:   Tue Dec 30 16:45:42 2014 -0500

    4877: don't delete /dev/stdout
    
    Fixed the filename check before trying to delete /dev/stdout.

diff --git a/sdk/python/bin/arv-get b/sdk/python/bin/arv-get
index 272fa84..2451416 100755
--- 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 outfilename != '/dev/stdout':
             os.unlink(outfilename)
         break
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list