From: Zac Medico Date: Mon, 3 Jul 2006 19:52:54 +0000 (-0000) Subject: Remove color from "none" reported by vapier. X-Git-Tag: v2.1.1~289 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c525f6dea211103a54d4165ba61a47d325598af;p=portage.git Remove color from "none" reported by vapier. svn path=/main/trunk/; revision=3781 --- 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'") + \