summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/elog/messages.py')
-rw-r--r--pym/portage/elog/messages.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/elog/messages.py b/pym/portage/elog/messages.py
index 341a61d1..d33542ef 100644
--- a/pym/portage/elog/messages.py
+++ b/pym/portage/elog/messages.py
@@ -43,8 +43,10 @@ def collect_ebuild_messages(path):
writemsg("!!! malformed entry in " + \
"log file: '%s'\n" % filename, noiselevel=-1)
continue
+
if lastmsgtype is None:
lastmsgtype = msgtype
+
if msgtype == lastmsgtype:
msgcontent.append(msg)
else: