summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/__init__.py')
-rw-r--r--pym/_emerge/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 3fbca74b4..46aef7da2 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -3297,8 +3297,11 @@ class MergeListItem(CompositeTask):
ldpath_mtimes = mtimedb["ldpath"]
if not build_opts.pretend:
+ extra_newline = "\n"
+ if self.background:
+ extra_newline = ""
portage.writemsg_stdout(
- "\n>>> Emerging (%s of %s) %s to %s\n" % \
+ extra_newline + ">>> Emerging (%s of %s) %s to %s\n" % \
(colorize("MERGE_LIST_PROGRESS", str(pkg_count.curval)),
colorize("MERGE_LIST_PROGRESS", str(pkg_count.maxval)),
colorize("GOOD", pkg.cpv), pkg.root), noiselevel=-1)