From ad7a6258a18693ce2b45f70563b783d65d9c09bf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 2 Oct 2008 05:11:17 +0000 Subject: 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 --- pym/_emerge/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22