Commit a59e1eef authored by Jerome Mariette's avatar Jerome Mariette
Browse files

handle a better default config file parsing

parent 66054ae1
...@@ -153,11 +153,8 @@ class Workflow(threading.Thread): ...@@ -153,11 +153,8 @@ class Workflow(threading.Thread):
@staticmethod @staticmethod
def config_parser(arg_lines): def config_parser(arg_lines):
for arg_line in arg_lines: for arg in arg_lines:
for arg in arg_line.split(): yield arg
if not arg.strip():
continue
yield arg
def __setstate__(self, state): def __setstate__(self, state):
self.__dict__ = state.copy() self.__dict__ = state.copy()
......
Markdown is supported
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