diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-17 11:21:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-17 11:21:17 +0000 |
commit | 9d8f65e9a50dd78186e69afa8dce5c9d4b921bf3 (patch) | |
tree | c10ef8f4cc9dabac3fd42a13108b13257a5099a7 | |
parent | 261fb5c354b0e2f5fada2132499686de3d69eb6c (diff) | |
download | portage-9d8f65e9a50dd78186e69afa8dce5c9d4b921bf3.tar.gz portage-9d8f65e9a50dd78186e69afa8dce5c9d4b921bf3.tar.bz2 portage-9d8f65e9a50dd78186e69afa8dce5c9d4b921bf3.zip |
Don't show a blank newline before ">>> Emerging" when in background mode.
svn path=/main/trunk/; revision=11101
-rw-r--r-- | pym/_emerge/__init__.py | 5 |
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) |