From: Zac Medico Date: Fri, 19 Oct 2007 18:33:45 +0000 (-0000) Subject: Don't show each character of the log message on a new X-Git-Tag: v2.2_pre1~591 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d44a45df68f69c8c25c3a82ac1f7d81b6104048b;p=portage.git 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 --- 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 = []