Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11609 - main/trunk/pym/_emerge
Date: Thu, 02 Oct 2008 05:11:22
Message-Id: E1KlGT9-00075V-76@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-10-02 05:11:17 +0000 (Thu, 02 Oct 2008)
3 New Revision: 11609
4
5 Modified:
6 main/trunk/pym/_emerge/__init__.py
7 Log:
8 In JobStatusDisplay._update(), set _displayed = True when ruturning early due
9 to stdout not being a tty. This fixes a problem excess output which was
10 reported by Daniel Robbins.
11
12
13 Modified: main/trunk/pym/_emerge/__init__.py
14 ===================================================================
15 --- main/trunk/pym/_emerge/__init__.py 2008-10-02 03:58:49 UTC (rev 11608)
16 +++ main/trunk/pym/_emerge/__init__.py 2008-10-02 05:11:17 UTC (rev 11609)
17 @@ -8716,6 +8716,7 @@
18 out = self.out
19 if not self._isatty:
20 out.write(self._format_msg(msg) + self._term_codes['newline'])
21 + self._displayed = True
22 return
23
24 if self._displayed: