Skip to content

Commit

Permalink
remove un-needed check for itask.run_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Oct 31, 2024
1 parent 0c5e639 commit 2ec57e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cylc/flow/task_events_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1541,8 +1541,7 @@ def _insert_task_job(
# And transient tasks, used for setting outputs and spawning children,
# do not submit jobs.
if (
not itask.run_mode
or itask.run_mode in JOBLESS_MODES
itask.run_mode in JOBLESS_MODES
or forced
):
job_conf = {"submit_num": itask.submit_num}
Expand Down

0 comments on commit 2ec57e9

Please sign in to comment.