diff options
-rw-r--r-- | pym/portage/elog/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/elog/__init__.py b/pym/portage/elog/__init__.py index 9e309f75f..4049b5521 100644 --- a/pym/portage/elog/__init__.py +++ b/pym/portage/elog/__init__.py @@ -33,8 +33,11 @@ def _combine_logentries(logentries): for phase in EBUILD_PHASES: if not phase in logentries: continue + previous_type = None for msgtype, msgcontent in logentries[phase]: - rValue += "%s: %s\n" % (msgtype, phase) + if previous_type != msgtype: + previous_type = msgtype + rValue += "%s: %s\n" % (msgtype, phase) for line in msgcontent: rValue += line rValue += "\n" |