From: Peter Amstutz Date: Wed, 30 Jul 2014 15:34:38 +0000 (-0400) Subject: .st_mode X-Git-Tag: 1.1.0~2341^2~39 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/c3b19359bd21c0b2115c4169102327762e48a93b?ds=inline .st_mode --- diff --git a/crunch_scripts/run-command b/crunch_scripts/run-command index aa30d2d333..64d9c6c931 100755 --- a/crunch_scripts/run-command +++ b/crunch_scripts/run-command @@ -95,7 +95,7 @@ def get_items(p, value): return expand_list(p, value) fn = subst.do_substitution(p, value) - mode = os.stat(fn) + mode = os.stat(fn).st_mode prefix = fn[len(os.environ['TASK_KEEPMOUNT'])+1:] if mode != None: if stat.S_ISDIR(mode):