From: Zac Medico Date: Wed, 22 Aug 2007 22:55:46 +0000 (-0000) Subject: Use INFORM to colorize the package name. X-Git-Tag: v2.2_pre1~859 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdbfee33dc13af146b633def52a138e2643b96cf;p=portage.git Use INFORM to colorize the package name. svn path=/main/trunk/; revision=7674 --- diff --git a/pym/portage/elog/mod_echo.py b/pym/portage/elog/mod_echo.py index e9bd4bd38..6a12c0364 100644 --- a/pym/portage/elog/mod_echo.py +++ b/pym/portage/elog/mod_echo.py @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -from portage.output import EOutput +from portage.output import EOutput, colorize from portage.const import EBUILD_PHASES _items = [] @@ -22,7 +22,8 @@ def finalize(mysettings=None): if mysettings["ROOT"] != "/": root_msg = " merged to %s" % mysettings["ROOT"] print - printer.einfo("Messages for package %s%s:" % (key, root_msg)) + printer.einfo("Messages for package %s%s:" % \ + (colorize("INFORM", key), root_msg)) print for phase in EBUILD_PHASES: if phase not in logentries: