From f125368280ece3e1d7bce5620c5ae553f3a2a509 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 12 Oct 2008 02:15:00 +0000 Subject: Remove the prefetch logic in EbuildFetcher._pipe() since prefetchers are always in the background anyway. svn path=/main/trunk/; revision=11681 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a392c2d71..d2233f136 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2282,7 +2282,7 @@ class EbuildFetcher(SpawnProcess): def _pipe(self, fd_pipes): """When appropriate, use a pty so that fetcher progress bars, like wget has, will work properly.""" - if self.prefetch or self.background or not sys.stdout.isatty(): + if self.background or not sys.stdout.isatty(): # When the output only goes to a log file, # there's no point in creating a pty. return os.pipe() -- cgit v1.2.3-1-g7c22