1 |
Author: zmedico |
2 |
Date: 2008-10-12 02:15:00 +0000 (Sun, 12 Oct 2008) |
3 |
New Revision: 11681 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Remove the prefetch logic in EbuildFetcher._pipe() since prefetchers are |
9 |
always in the background anyway. |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/_emerge/__init__.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/_emerge/__init__.py 2008-10-12 00:46:59 UTC (rev 11680) |
15 |
+++ main/trunk/pym/_emerge/__init__.py 2008-10-12 02:15:00 UTC (rev 11681) |
16 |
@@ -2282,7 +2282,7 @@ |
17 |
def _pipe(self, fd_pipes): |
18 |
"""When appropriate, use a pty so that fetcher progress bars, |
19 |
like wget has, will work properly.""" |
20 |
- if self.prefetch or self.background or not sys.stdout.isatty(): |
21 |
+ if self.background or not sys.stdout.isatty(): |
22 |
# When the output only goes to a log file, |
23 |
# there's no point in creating a pty. |
24 |
return os.pipe() |