From: Zac Medico Date: Tue, 27 Jun 2006 20:26:01 +0000 (-0000) Subject: Make unmerge() colors more consistent. X-Git-Tag: v2.1.1~363 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e738ea1f326332440eddb5a42976d6757fea945c;p=portage.git Make unmerge() colors more consistent. svn path=/main/trunk/; revision=3677 --- diff --git a/bin/emerge b/bin/emerge index d48a4ee99..e0c8a5ae7 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2316,8 +2316,11 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files, print if (not "--quiet" in myopts): - print "\n>>>",red("'Selected'"),"packages are slated for removal." - print ">>>",green("'Protected'"),"and",green("'omitted'"),"packages will not be removed.\n" + portage.writemsg_stdout("\n>>> " + colorize("WARN", "'Selected'") + \ + " packages are slated for removal.\n") + portage.writemsg_stdout(">>> " + colorize("GOOD", "'Protected'") + \ + " and " + colorize("GOOD", "'omitted'") + \ + " packages will not be removed.\n") if "--pretend" in myopts: #we're done... return