From 5d69940e710cf400b14c092cd21264261d5f4dfc Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Mar 2020 19:50:54 +0100 Subject: use str.join to construct perm substitution --- src/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/benchmark.py') diff --git a/src/benchmark.py b/src/benchmark.py index 5566ae1..e8d52c6 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -457,7 +457,7 @@ class Benchmark: substitutions.update(alloc) if perm: substitutions.update(perm._asdict()) - substitutions["perm"] = ("{}-"*(len(perm)-1) + "{}").format(*perm) + substitutions["perm"] = "-".join(*perm) else: substitutions["perm"] = "" -- cgit v1.2.3