summaryrefslogtreecommitdiffstats
path: root/pym/portage/elog/messages.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-08 04:43:37 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-08 04:43:37 +0000
commite2952e535ce0561f6a45167ee4458edda2859428 (patch)
treedbb49ebc9e76f68f677755e2c3260fd8a3161de4 /pym/portage/elog/messages.py
parent75556755c21f78bb3aa66e0ab777bd739fa3b425 (diff)
downloadportage-e2952e535ce0561f6a45167ee4458edda2859428.tar.gz
portage-e2952e535ce0561f6a45167ee4458edda2859428.tar.bz2
portage-e2952e535ce0561f6a45167ee4458edda2859428.zip
Fix a little issue in the code from bug #197905 that causes some elog
messages to get lost. svn path=/main/trunk/; revision=9747
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 ed5c8c9dd..bca63554e 100644
--- a/pym/portage/elog/messages.py
+++ b/pym/portage/elog/messages.py
@@ -44,6 +44,8 @@ def collect_ebuild_messages(path):
logentries[msgfunction].append((lastmsgtype, msgcontent))
msgcontent = [msg]
lastmsgtype = msgtype
+ if msgcontent:
+ logentries[msgfunction].append((lastmsgtype, msgcontent))
# clean logfiles to avoid repetitions
for f in mylogfiles: