From b39acfee0e6839d584d4f3c448ad42beca525782 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 22 Aug 2007 22:56:41 +0000 Subject: Use INFORM to colorize the package name. (trunk r7674) svn path=/main/branches/2.1.2/; revision=7675 --- pym/elog_modules/mod_echo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pym/elog_modules') diff --git a/pym/elog_modules/mod_echo.py b/pym/elog_modules/mod_echo.py index c3041ae81..5b13c924f 100644 --- a/pym/elog_modules/mod_echo.py +++ b/pym/elog_modules/mod_echo.py @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -from output import EOutput +from 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