summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/buildhistory_analysis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py
index d3c0448fd1..a2fa643077 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -34,8 +34,8 @@ class ChangeRecord:
34 34
35 def __str__(self): 35 def __str__(self):
36 if self.fieldname in list_fields: 36 if self.fieldname in list_fields:
37 aitems = self.oldvalue.split(' ') 37 aitems = self.oldvalue.split()
38 bitems = self.newvalue.split(' ') 38 bitems = self.newvalue.split()
39 removed = list(set(aitems) - set(bitems)) 39 removed = list(set(aitems) - set(bitems))
40 added = list(set(bitems) - set(aitems)) 40 added = list(set(bitems) - set(aitems))
41 return '%s: %s:%s%s' % (self.path, self.fieldname, ' removed "%s"' % ' '.join(removed) if removed else '', ' added "%s"' % ' '.join(added) if added else '') 41 return '%s: %s:%s%s' % (self.path, self.fieldname, ' removed "%s"' % ' '.join(removed) if removed else '', ' added "%s"' % ' '.join(added) if added else '')