From: Zac Medico Date: Wed, 22 Aug 2007 22:56:41 +0000 (-0000) Subject: Use INFORM to colorize the package name. (trunk r7674) X-Git-Tag: v2.1.3.9~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b39acfee0e6839d584d4f3c448ad42beca525782;p=portage.git Use INFORM to colorize the package name. (trunk r7674) svn path=/main/branches/2.1.2/; revision=7675 --- 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: