Skip to content

Commit 7477549

Browse files
author
Anton Khodak
committed
Fix failing tests
1 parent b0629e9 commit 7477549

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cwltool/factory.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ class Factory(object):
3636
def __init__(self,
3737
makeTool=workflow.defaultMakeTool, # type: tCallable[[Any], Process]
3838
# should be tCallable[[Dict[Text, Any], Any], Process] ?
39-
executor=SingleJobExecutor(), # type: tCallable[...,Tuple[Dict[Text,Any], Text]]
39+
executor=None, # type: tCallable[...,Tuple[Dict[Text,Any], Text]]
4040
**execkwargs # type: Any
4141
):
4242
# type: (...) -> None
4343
self.makeTool = makeTool
44+
if executor is None:
45+
executor = SingleJobExecutor()
4446
self.executor = executor
4547
self.execkwargs = execkwargs
4648

0 commit comments

Comments
 (0)