summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py9
1 files changed, 6 insertions, 3 deletions
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 != "/":