From e2952e535ce0561f6a45167ee4458edda2859428 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 8 Apr 2008 04:43:37 +0000 Subject: Fix a little issue in the code from bug #197905 that causes some elog messages to get lost. svn path=/main/trunk/; revision=9747 --- pym/portage/elog/messages.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22