From cdbfee33dc13af146b633def52a138e2643b96cf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 22 Aug 2007 22:55:46 +0000 Subject: Use INFORM to colorize the package name. svn path=/main/trunk/; revision=7674 --- pym/portage/elog/mod_echo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22