From: Zac Medico Date: Thu, 2 Oct 2008 05:11:17 +0000 (-0000) Subject: In JobStatusDisplay._update(), set _displayed = True when ruturning early due X-Git-Tag: v2.2_rc12~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ad7a6258a18693ce2b45f70563b783d65d9c09bf;p=portage.git 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 --- 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: