Skip to content
Snippets Groups Projects
Commit d2fce235 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

after_ok and after_any are optional

parent 171f495d
No related branches found
No related tags found
1 merge request!544Reproducibility, step 1
......@@ -783,7 +783,7 @@ class JobArgs:
def run_direct(self, run_tmp_path, python) -> int:
return call(self.format_cmd(run_tmp_path, python))
def submit_job(self, run_tmp_path, python, args, after_ok, after_any):
def submit_job(self, run_tmp_path, python, args, after_ok=(), after_any=()):
cmd = get_launcher_command(args, run_tmp_path, after_ok, after_any)
cmd += self.format_cmd(run_tmp_path, python)
output = check_output(cmd).decode('utf-8')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment