summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-03 19:52:54 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-03 19:52:54 +0000
commit0c525f6dea211103a54d4165ba61a47d325598af (patch)
treeed62512307a03c1bd86eb10731dd229a1ffce638
parent9c0027fb4b59943f66a9d225d70c277f858c6d62 (diff)
downloadportage-0c525f6dea211103a54d4165ba61a47d325598af.tar.gz
portage-0c525f6dea211103a54d4165ba61a47d325598af.tar.bz2
portage-0c525f6dea211103a54d4165ba61a47d325598af.zip
Remove color from "none" reported by vapier.
svn path=/main/trunk/; revision=3781
-rwxr-xr-xbin/emerge4
1 files 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'") + \