From 2930515acb5cfdcd335a76ae36fd9f7189207aa3 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 15 Sep 2017 15:54:49 +0300 Subject: scripts/oe-build-perf-report: fix dumping buildstats Fix a misbehavior when some of the buildstats are missing. Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton --- scripts/oe-build-perf-report | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/oe-build-perf-report') diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index b5ad42bc8a..23081db173 100755 --- a/scripts/oe-build-perf-report +++ b/scripts/oe-build-perf-report @@ -422,6 +422,7 @@ def dump_buildstats(repo, outdir, notes_ref, revs): 'show', tag + '^0'])) except GitError: log.warning("Buildstats not found for %s", tag) + bs_all = {} missing = True for measurement, buildstats in bs_all.items(): tag_base, run_id = tag.rsplit('/', 1) -- cgit 1.2.3-korg