1 |
Author: zmedico |
2 |
Date: 2008-09-26 01:48:20 +0000 (Fri, 26 Sep 2008) |
3 |
New Revision: 11554 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/output.py |
7 |
Log: |
8 |
Direct EOutput.eerror() and ewarn() output to stderr. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/output.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/output.py 2008-09-26 01:45:17 UTC (rev 11553) |
14 |
+++ main/trunk/pym/portage/output.py 2008-09-26 01:48:20 UTC (rev 11554) |
15 |
@@ -503,7 +503,7 @@ |
16 |
@param msg: A very brief (shorter than one line) error message. |
17 |
@type msg: StringType |
18 |
""" |
19 |
- out = sys.stdout |
20 |
+ out = sys.stderr |
21 |
if not self.quiet: |
22 |
if self.__last_e_cmd == "ebegin": |
23 |
out.write("\n") |
24 |
@@ -548,7 +548,7 @@ |
25 |
@param msg: A very brief (shorter than one line) warning message. |
26 |
@type msg: StringType |
27 |
""" |
28 |
- out = sys.stdout |
29 |
+ out = sys.stderr |
30 |
if not self.quiet: |
31 |
if self.__last_e_cmd == "ebegin": |
32 |
out.write("\n") |