summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-02 05:11:17 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-02 05:11:17 +0000
commitad7a6258a18693ce2b45f70563b783d65d9c09bf (patch)
treee9dab9f55407a2a377abfab2b09da1a9875a325f
parent0766aed141800ca2bdb4f764aace49d8e63e8f0d (diff)
downloadportage-ad7a6258a18693ce2b45f70563b783d65d9c09bf.tar.gz
portage-ad7a6258a18693ce2b45f70563b783d65d9c09bf.tar.bz2
portage-ad7a6258a18693ce2b45f70563b783d65d9c09bf.zip
In JobStatusDisplay._update(), set _displayed = True when ruturning early due
to stdout not being a tty. This fixes a problem excess output which was reported by Daniel Robbins. svn path=/main/trunk/; revision=11609
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 0e7f241fd..a29334f17 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -8716,6 +8716,7 @@ class JobStatusDisplay(object):
out = self.out
if not self._isatty:
out.write(self._format_msg(msg) + self._term_codes['newline'])
+ self._displayed = True
return
if self._displayed: