Commit 106b206f authored by Jerome Mariette's avatar Jerome Mariette
Browse files

fix bugs in regexp

parent ad492305
......@@ -868,8 +868,8 @@ class InputFileList(ParameterList, AbstractInputFile):
folder, pattern = os.path.split(files_pattern)
for item in os.listdir(folder):
if os.path.isfile(os.path.join(folder, item)) and fnmatch.fnmatch(item, pattern):
new_vals.append( localfile(os.path.join(folder, item)) )
path2test = new_vals
new_vals.append( os.path.abspath(os.path.join(folder, item)) )
path2test = new_vals
new_vals, done = [], []
# handle url inputs
for path in path2test:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment