Commit 26f62368 authored by aknecht2's avatar aknecht2
Browse files

Separator hacks continue...

parent b3cb5cf9
......@@ -515,12 +515,15 @@ class WorkflowJob(object):
arg_list.append(add_value)
elif isinstance(add_value, list):
arg_list.append(arg_name)
for i,f in enumerates(add_value):
arg_list.append(f)
if "separator" in arg_info and i != len(add_value) - 1:
arg_list.append(arg_info["separator"])
if "separator" in arg_info:
arg_list.append(arg_info["separator"].join([
str(f.toArgumentXML()) for f in add_value
])
else:
for f in add_value:
arg_list.append(add_value)
else:
arg_list.append("%s %s" % (arg_name, add_value))
else:
arg_list.append(add_value)
return arg_list
\ No newline at end of file
return arg_list
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