Skip to content

Commit 1bee55f

Browse files
committed
cleanups
1 parent 5924cfe commit 1bee55f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cwltool/job.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,11 @@ def stderr_stdout_log_path(
447447
with runtimeContext.workflow_eval_lock:
448448
self.output_callback(outputs, processStatus)
449449

450-
if runtimeContext.rm_tmpdir and self.stagedir is not None and os.path.exists(self.stagedir):
450+
if (
451+
runtimeContext.rm_tmpdir
452+
and self.stagedir is not None
453+
and os.path.exists(self.stagedir)
454+
):
451455
_logger.debug(
452456
"[job %s] Removing input staging directory %s",
453457
self.name,
@@ -875,7 +879,6 @@ def docker_monitor(
875879
kill_switch: threading.Event,
876880
) -> None:
877881
"""Record memory usage of the running Docker container. Terminate if kill_switch is activated."""
878-
879882
ks_tm: "Optional[Timer]" = None
880883
cid: Optional[str] = None
881884

0 commit comments

Comments
 (0)