projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4754: search_test assertions
[arvados.git]
/
crunch_scripts
/
crunchutil
/
subst.py
diff --git
a/crunch_scripts/crunchutil/subst.py
b/crunch_scripts/crunchutil/subst.py
index b7336fa3322775c3b2b22f0bbf1905a48ab5de28..06ef6c1198ffad07d888040794a42dce08e8af16 100644
(file)
--- a/
crunch_scripts/crunchutil/subst.py
+++ b/
crunch_scripts/crunchutil/subst.py
@@
-41,7
+41,7
@@
def sub_file(v):
if st and stat.S_ISREG(st.st_mode):
return path
else:
if st and stat.S_ISREG(st.st_mode):
return path
else:
- raise SubstitutionError("$(file {}) is not access
a
ble or is not a regular file".format(path))
+ raise SubstitutionError("$(file {}) is not access
i
ble or is not a regular file".format(path))
def sub_dir(v):
d = os.path.dirname(v)
def sub_dir(v):
d = os.path.dirname(v)
@@
-52,7
+52,7
@@
def sub_dir(v):
if st and stat.S_ISDIR(st.st_mode):
return path
else:
if st and stat.S_ISDIR(st.st_mode):
return path
else:
- raise SubstitutionError("$(dir {}) is not access
a
ble or is not a directory".format(path))
+ raise SubstitutionError("$(dir {}) is not access
i
ble or is not a directory".format(path))
def sub_basename(v):
return os.path.splitext(os.path.basename(v))[0]
def sub_basename(v):
return os.path.splitext(os.path.basename(v))[0]