From 0c525f6dea211103a54d4165ba61a47d325598af Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 3 Jul 2006 19:52:54 +0000 Subject: [PATCH] Remove color from "none" reported by vapier. svn path=/main/trunk/; revision=3781 --- bin/emerge | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/emerge b/bin/emerge index 0e58dbe6e..be8543a96 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2082,7 +2082,7 @@ def unmerge_overlapping(pkg_key, myroot, mysettings, vartree, ldpath_mtimes): selected_versions = " ".join(map(get_version, overlapping)) protected_version = get_version(pkg_key) if ommitted_versions: - ommitted_versions = " ".join(map(get_version, ommitted_versions)) + ommitted_versions = colorize("GOOD", " ".join(map(get_version, ommitted_versions))) else: ommitted_versions = "none" portage.writemsg_stdout("\n %s\n" % bold(mycp), noiselevel=-1) @@ -2091,7 +2091,7 @@ def unmerge_overlapping(pkg_key, myroot, mysettings, vartree, ldpath_mtimes): portage.writemsg_stdout("protected: ".rjust(14) + \ colorize("GOOD", protected_version) + "\n", noiselevel=-1) portage.writemsg_stdout("omitted: ".rjust(14) + \ - colorize("GOOD", ommitted_versions) + "\n", noiselevel=-1) + ommitted_versions + "\n", noiselevel=-1) portage.writemsg_stdout("\n>>>" + colorize("UNMERGE_WARN", "'Selected'") + \ " packages are slated for removal.\n", noiselevel=0) portage.writemsg_stdout(">>>" + colorize("GOOD", "'Protected'") + \ -- 2.26.2