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

pym/elog_modules/mod_echo.py

index c3041ae811bb92d8518fd9c490ef4838019b32a7..5b13c924ffe21b51fd2b9b07e05261e9ff8173c8 100644 (file)
@@ -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: