diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2013-12-04 15:58:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-05 16:27:07 +0000 |
commit | ae0ed55e80b7bd30c775b128b4114b306a50ff69 (patch) | |
tree | 8079d9ba7f2fcb8ddafd7c7d63d6e74bbce9cdf8 /lib/bb/ui/buildinfohelper.py | |
parent | a2d0122c198ee50325e6f0e2f5d1c2284475fc7b (diff) | |
download | bitbake-ae0ed55e80b7bd30c775b128b4114b306a50ff69.tar.gz |
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]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/buildinfohelper.py')
-rw-r--r-- | lib/bb/ui/buildinfohelper.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/bb/ui/buildinfohelper.py b/lib/bb/ui/buildinfohelper.py index 61149fafd..c99a51109 100644 --- a/lib/bb/ui/buildinfohelper.py +++ b/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 |