projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3991b
)
Don't show each character of the log message on a new
author
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Oct 2007 18:33:45 +0000
(18:33 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Oct 2007 18:33:45 +0000
(18:33 -0000)
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
patch
|
blob
|
history
diff --git
a/pym/portage/elog/mod_echo.py
b/pym/portage/elog/mod_echo.py
index 6a12c036495936be1c3d48f8ccd804b76a6018bc..30d88f005067224f973864f68af17a8231bd7747 100644
(file)
--- 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 = []