From: Zac Medico Date: Sat, 28 Mar 2009 01:39:49 +0000 (-0000) Subject: Don't show the package counter for "Uninstalling" messages. X-Git-Tag: v2.2_rc29~66 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2578caeb09ab77359a768f1800b428e940da008a;p=portage.git Don't show the package counter for "Uninstalling" messages. svn path=/main/trunk/; revision=13240 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 42f608a41..8eb382917 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -4035,14 +4035,17 @@ class PackageMerge(AsynchronousTask): if pkg.installed: action_desc = "Uninstalling" preposition = "from" + counter_str = "" else: action_desc = "Installing" preposition = "to" + counter_str = "(%s of %s) " % \ + (colorize("MERGE_LIST_PROGRESS", str(pkg_count.curval)), + colorize("MERGE_LIST_PROGRESS", str(pkg_count.maxval))) - msg = "%s (%s of %s) %s" % \ + msg = "%s %s%s" % \ (action_desc, - colorize("MERGE_LIST_PROGRESS", str(pkg_count.curval)), - colorize("MERGE_LIST_PROGRESS", str(pkg_count.maxval)), + counter_str, colorize("GOOD", pkg.cpv)) if pkg.root != "/":