3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-07-31 10:23:19 +00:00

fix trace summary printing

This commit is contained in:
N. Engelhardt 2020-05-13 18:15:33 +02:00
parent 842e9a121a
commit 6a95ef33c8
2 changed files with 3 additions and 4 deletions

View file

@ -192,7 +192,7 @@ def run(mode, job, engine_idx, engine):
while os.path.exists("{}/engine_{}/trace{}.vcd".format(job.workdir, engine_idx, print_traces_max + excess_traces)):
excess_traces += 1
if excess_traces > 0:
job.summary.append("and {} further trace{}".format(excess_traces, "s" if excess_traces > 1 else {}))
job.summary.append("and {} further trace{}".format(excess_traces, "s" if excess_traces > 1 else ""))
job.terminate()