Skip to content

Commit d403351

Browse files
committed
fix output of temporary directory for --keep-files
1 parent 8f3bf9b commit d403351

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scorep/subsystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def generate(scorep_config, keep_files=False):
5656
temp_dir = tempfile.mkdtemp(prefix="scorep.")
5757
if keep_files:
5858
sys.stderr.write(
59-
"Score-P files are keept at: {}".format(temp_dir),
60-
file=sys.stderr)
59+
"Score-P files are keept at: {}\n".format(temp_dir))
60+
sys.stderr.flush()
6161

6262
with open(temp_dir + "/scorep_init.c", "w") as f:
6363
f.write(scorep_adapter_init)

0 commit comments

Comments
 (0)