aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-16 10:01:50 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-22 16:12:51 +1300
commitaf03426da1f2d00149a2021b8d681b2dcef3a1ea (patch)
tree3818d979c7af7e644d996de2446e6a1ee45cf8d5
parent181f25ab570147931954417e03c4aaaf0d93ed7b (diff)
downloadopenembedded-core-contrib-paule/correctness-fixes.tar.gz
classes/buildstats: don't expand variable pointing to SystemStatspaule/correctness-fixes
We're placing an object into the datastore - it's very definitely not something we want to be expanding. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--meta/classes/buildstats.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass
index 8703cb2b33..8d7b5988e3 100644
--- a/meta/classes/buildstats.bbclass
+++ b/meta/classes/buildstats.bbclass
@@ -197,7 +197,7 @@ python runqueue_stats () {
# are available that we need to find the output directory.
# The persistent SystemStats is stored in the datastore and
# closed when the build is done.
- system_stats = d.getVar('_buildstats_system_stats')
+ system_stats = d.getVar('_buildstats_system_stats', False)
if not system_stats and isinstance(e, (bb.runqueue.sceneQueueTaskStarted, bb.runqueue.runQueueTaskStarted)):
system_stats = buildstats.SystemStats(d)
d.setVar('_buildstats_system_stats', system_stats)