consecutive 'TYPE: phase' lines that show in summary.log
when the python-based elog functions are used.
svn path=/main/trunk/; revision=8182
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"