Use INFORM to colorize the package name.
authorZac Medico <zmedico@gentoo.org>
Wed, 22 Aug 2007 22:55:46 +0000 (22:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 22 Aug 2007 22:55:46 +0000 (22:55 -0000)
svn path=/main/trunk/; revision=7674

pym/portage/elog/mod_echo.py

index e9bd4bd381bd438fdf7a64bde0fd3bcdb82f06f9..6a12c036495936be1c3d48f8ccd804b76a6018bc 100644 (file)
@@ -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: