summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-04-24 18:34:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-08 22:52:27 +0100
commitfa4683a484121345e6e2a6e10b015b3aa8b9f25a (patch)
treeb0845d1151744b2fa454777d1e1eb6c019958df3
parente6949336479e611a142834b6d9241514cbaeaf80 (diff)
downloadpoky-fa4683a484121345e6e2a6e10b015b3aa8b9f25a.tar.gz
buildhistory: call a dependency parser only on actual dependency lists
Previously it was also called on filelists and possibly other items which broke the parser. (From OE-Core rev: f965ecbf558b6db1959e4ba8e599d65a5c8022b2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/buildhistory_analysis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py
index ad7fceb8bb..d3cde4f650 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -127,7 +127,7 @@ class ChangeRecord:
127 removed = list(set(aitems) - set(bitems)) 127 removed = list(set(aitems) - set(bitems))
128 added = list(set(bitems) - set(aitems)) 128 added = list(set(bitems) - set(aitems))
129 129
130 if not removed and not added: 130 if not removed and not added and self.fieldname in ['RPROVIDES', 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RREPLACES', 'RCONFLICTS']:
131 depvera = bb.utils.explode_dep_versions2(self.oldvalue, sort=False) 131 depvera = bb.utils.explode_dep_versions2(self.oldvalue, sort=False)
132 depverb = bb.utils.explode_dep_versions2(self.newvalue, sort=False) 132 depverb = bb.utils.explode_dep_versions2(self.newvalue, sort=False)
133 for i, j in zip(depvera.items(), depverb.items()): 133 for i, j in zip(depvera.items(), depverb.items()):