From 602b28096f98a0f0d085ffd67b77b168bd92f0ad Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 11 May 2019 14:10:36 +0200 Subject: only delete during analyse created stats if they exist --- bench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench.py b/bench.py index 47511fc..1e8b8b1 100755 --- a/bench.py +++ b/bench.py @@ -177,7 +177,7 @@ def main(): if "malt" in bench.results: del(bench.results["malt"]) - if "malt" in bench.results["stats"]: + if "stats" in bench.results and "malt" in bench.results["stats"]: del(bench.results["stats"]["malt"]) # restore allocs bench.allocators = old_allocs -- cgit v1.2.3