From: Zac Medico Date: Tue, 8 Apr 2008 04:43:37 +0000 (-0000) Subject: Fix a little issue in the code from bug #197905 that causes some elog X-Git-Tag: v2.2_pre6~223 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e2952e535ce0561f6a45167ee4458edda2859428;p=portage.git Fix a little issue in the code from bug #197905 that causes some elog messages to get lost. svn path=/main/trunk/; revision=9747 --- 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: