From 5301c59503e0d3fdc0080d80754ec66db40de46c Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Wed, 4 Dec 2013 15:58:06 +0200 Subject: bitbake: toaster: exclude "set in documentation.conf" from variable history That has no impact on the builds themselves, so we should just remove that line from the variable history. [YOCTO #5561] (Bitbake rev: ae0ed55e80b7bd30c775b128b4114b306a50ff69) Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/buildinfohelper.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 61149fafd7..c99a51109b 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py @@ -245,10 +245,11 @@ class ORMWrapper(object): variable_value = value, description = desc) for vh in vardump[k]['history']: - VariableHistory.objects.create( variable = variable_obj, - file_name = vh['file'], - line_number = vh['line'], - operation = vh['op']) + if not 'documentation.conf' in vh['file']: + VariableHistory.objects.create( variable = variable_obj, + file_name = vh['file'], + line_number = vh['line'], + operation = vh['op']) class BuildInfoHelper(object): """ This class gathers the build information from the server and sends it -- cgit v1.2.3-54-g00ecf