public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11609 - main/trunk/pym/_emerge
@ 2008-10-02  5:11 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-10-02  5:11 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-10-02 05:11:17 +0000 (Thu, 02 Oct 2008)
New Revision: 11609

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
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.


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-10-02 03:58:49 UTC (rev 11608)
+++ main/trunk/pym/_emerge/__init__.py	2008-10-02 05:11:17 UTC (rev 11609)
@@ -8716,6 +8716,7 @@
 		out = self.out
 		if not self._isatty:
 			out.write(self._format_msg(msg) + self._term_codes['newline'])
+			self._displayed = True
 			return
 
 		if self._displayed:




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-02  5:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02  5:11 [gentoo-commits] portage r11609 - main/trunk/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox