[ARVADOS] updated: 53c6f7b15cf655127058c36e38396889d63af92f

git at public.curoverse.com git at public.curoverse.com
Mon Oct 6 16:40:02 EDT 2014


Summary of changes:
 crunch_scripts/run-command | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  53c6f7b15cf655127058c36e38396889d63af92f (commit)
      from  5958ab191b80c659b6591b7ea6f89edd2f39e1aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 53c6f7b15cf655127058c36e38396889d63af92f
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Oct 6 16:30:29 2014 -0400

    4042: When listing directory, return list of absolute paths

diff --git a/crunch_scripts/run-command b/crunch_scripts/run-command
index 8ee7393..837e267 100755
--- a/crunch_scripts/run-command
+++ b/crunch_scripts/run-command
@@ -163,7 +163,7 @@ def get_items(p, value):
     prefix = fn[len(os.environ['TASK_KEEPMOUNT'])+1:]
     if mode is not None:
         if stat.S_ISDIR(mode):
-            items = ["$(dir %s/%s/)" % (prefix, l) for l in os.listdir(fn)]
+            items = [os.path.join(fn, l) for l in os.listdir(fn)]
         elif stat.S_ISREG(mode):
             with open(fn) as f:
                 items = [line.rstrip("\r\n") for line in f]

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list