Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Dec 30, 2024
1 parent c837e85 commit fbba786
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion cylc/flow/task_job_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,13 @@ def _prep_submit_task_job(
itask.local_job_file_path = local_job_file_path
return itask

def _prep_submit_task_job_error(self, workflow, itask, action, exc):
def _prep_submit_task_job_error(
self,
workflow: str,
itask: 'TaskProxy',
action: str,
exc: Union[Exception, str],
) -> None:
"""Helper for self._prep_submit_task_job. On error."""
log_task_job_activity(
SubProcContext(self.JOBS_SUBMIT, action, err=exc, ret_code=1),
Expand Down
2 changes: 1 addition & 1 deletion cylc/flow/task_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class TaskProxy:
graph children: {msg: [(name, point), ...]}
.flow_nums:
flows I belong to (if empty, belongs to 'none' flow)
flow_wait:
.flow_wait:
wait for flow merge before spawning children
.waiting_on_job_prep:
True whilst task is awaiting job prep, reset to False once the
Expand Down

0 comments on commit fbba786

Please sign in to comment.