From: Markus Lehtonen Date: Fri, 15 Sep 2017 12:54:49 +0000 (+0300) Subject: scripts/oe-build-perf-report: fix dumping buildstats X-Git-Tag: 2017-10~183 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2930515acb5cfdcd335a76ae36fd9f7189207aa3;p=openembedded-core.git 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 --- 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)