From 6e64292cfa7d5bd9f6cb786681b3710ee51abc43 Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Tue, 1 Mar 2022 15:25:39 +0100 Subject: [PATCH] fix: small bug in snakemake.executors (#1440) --- snakemake/executors/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snakemake/executors/__init__.py b/snakemake/executors/__init__.py index 7a31ffe7e..b3e758591 100644 --- a/snakemake/executors/__init__.py +++ b/snakemake/executors/__init__.py @@ -1020,11 +1020,11 @@ def copy_stdout(executor, process): while process.poll() is None and executor.wait: buf = process.stdout.readline() if buf: - self.stdout.write(buf) + sys.stdout.write(buf) # one final time ... buf = process.stdout.readline() if buf: - self.stdout.write(buf) + sys.stdout.write(buf) def wait(executor, process): while executor.wait: