From 3f3adc269853146dbf5a962fac8cf5329904d201 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Thu, 4 Oct 2018 15:41:19 +0200 Subject: [PATCH] Read log file with lock being acquired --- python/dune/perftool/sumfact/autotune.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/dune/perftool/sumfact/autotune.py b/python/dune/perftool/sumfact/autotune.py index 3e8eef5f..ffe64336 100644 --- a/python/dune/perftool/sumfact/autotune.py +++ b/python/dune/perftool/sumfact/autotune.py @@ -217,5 +217,5 @@ def autotune_realization(sf): ret = subprocess.call(call, stdout=devnull, stderr=subprocess.STDOUT) assert ret == 0 - # Extract the result form the log file - return float(next(iter(open(logname, "r")))) / 1000000 + # Extract the result form the log file + return float(next(iter(open(logname, "r")))) / 1000000 -- GitLab