aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmark.py')
-rw-r--r--src/benchmark.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index d43c549..798cbd6 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -369,6 +369,8 @@ class Benchmark:
if perm:
substitutions.update(perm._asdict())
substitutions["perm"] = ("{}-"*(len(perm)-1) + "{}").format(*perm)
+ else:
+ substitutions["perm"] = ""
cmd_argv = self.cmd.format(**substitutions)
cmd_argv = src.util.prefix_cmd_with_abspath(cmd_argv).split()