diff options
| -rw-r--r-- | meta/lib/oe/buildhistory_analysis.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index 4f55d9ab68..313416cf74 100644 --- a/meta/lib/oe/buildhistory_analysis.py +++ b/meta/lib/oe/buildhistory_analysis.py | |||
| @@ -49,8 +49,8 @@ class ChangeRecord: | |||
| 49 | def __str__(self): | 49 | def __str__(self): |
| 50 | return self._str_internal(True) | 50 | return self._str_internal(True) |
| 51 | 51 | ||
| 52 | def _str_internal(self, pathprefix): | 52 | def _str_internal(self, outer): |
| 53 | if pathprefix: | 53 | if outer: |
| 54 | prefix = '%s: ' % self.path | 54 | prefix = '%s: ' % self.path |
| 55 | else: | 55 | else: |
| 56 | prefix = '' | 56 | prefix = '' |
| @@ -91,7 +91,7 @@ class ChangeRecord: | |||
| 91 | percentchg = 100 | 91 | percentchg = 100 |
| 92 | out = '%s changed from %s to %s (%s%d%%)' % (self.fieldname, self.oldvalue or "''", self.newvalue or "''", '+' if percentchg > 0 else '', percentchg) | 92 | out = '%s changed from %s to %s (%s%d%%)' % (self.fieldname, self.oldvalue or "''", self.newvalue or "''", '+' if percentchg > 0 else '', percentchg) |
| 93 | elif self.fieldname in img_monitor_files: | 93 | elif self.fieldname in img_monitor_files: |
| 94 | if pathprefix: | 94 | if outer: |
| 95 | prefix = 'Changes to %s ' % self.path | 95 | prefix = 'Changes to %s ' % self.path |
| 96 | out = '(%s):\n ' % self.fieldname | 96 | out = '(%s):\n ' % self.fieldname |
| 97 | if self.filechanges: | 97 | if self.filechanges: |
| @@ -107,6 +107,8 @@ class ChangeRecord: | |||
| 107 | 107 | ||
| 108 | if self.related: | 108 | if self.related: |
| 109 | for chg in self.related: | 109 | for chg in self.related: |
| 110 | if not outer and chg.fieldname in ['PE', 'PV', 'PR']: | ||
| 111 | continue | ||
| 110 | for line in chg._str_internal(False).splitlines(): | 112 | for line in chg._str_internal(False).splitlines(): |
| 111 | out += '\n * %s' % line | 113 | out += '\n * %s' % line |
| 112 | 114 | ||
