diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-08-22 22:55:46 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-08-22 22:55:46 +0000 |
commit | cdbfee33dc13af146b633def52a138e2643b96cf (patch) | |
tree | 6d920194dabe1646c1627caa0e91ba24c015d042 | |
parent | 33f9ae0279d32b87ffc8f818857e23af6c5593b7 (diff) | |
download | portage-cdbfee33dc13af146b633def52a138e2643b96cf.tar.gz portage-cdbfee33dc13af146b633def52a138e2643b96cf.tar.bz2 portage-cdbfee33dc13af146b633def52a138e2643b96cf.zip |
Use INFORM to colorize the package name.
svn path=/main/trunk/; revision=7674
-rw-r--r-- | pym/portage/elog/mod_echo.py | 5 |
1 files changed, 3 insertions, 2 deletions
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: |