We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f1e9e commit 320e98bCopy full SHA for 320e98b
cylc/flow/job_runner_mgr.py
@@ -568,8 +568,8 @@ def _job_submit_impl(
568
# Create NN symbolic link, if necessary
569
self._create_nn(job_file_path)
570
for name in JOB_LOG_ERR, JOB_LOG_OUT:
571
- with suppress(OSError):
572
- os.unlink(os.path.join(job_file_path, name))
+ with suppress(FileNotFoundError):
+ os.unlink(os.path.join(os.path.dirname(job_file_path), name))
573
574
# Start new status file
575
with open(f"{job_file_path}.status", "w") as job_status_file:
0 commit comments