From d44a45df68f69c8c25c3a82ac1f7d81b6104048b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 19 Oct 2007 18:33:45 +0000 Subject: [PATCH] Don't show each character of the log message on a new line when displaying messages that came from one of the python-based elog functions. This might not be the correct solution but it seems to work for now. svn path=/main/trunk/; revision=8180 --- pym/portage/elog/mod_echo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/elog/mod_echo.py b/pym/portage/elog/mod_echo.py index 6a12c0364..30d88f005 100644 --- a/pym/portage/elog/mod_echo.py +++ b/pym/portage/elog/mod_echo.py @@ -34,6 +34,8 @@ def finalize(mysettings=None): "ERROR": printer.eerror, "LOG": printer.einfo, "QA": printer.ewarn} + if isinstance(msgcontent, basestring): + msgcontent = [msgcontent] for line in msgcontent: fmap[msgtype](line.strip("\n")) _items = [] -- 2.26.2