From: Zac Medico Date: Sun, 12 Oct 2008 02:15:00 +0000 (-0000) Subject: Remove the prefetch logic in EbuildFetcher._pipe() since prefetchers are X-Git-Tag: v2.2_rc13~97 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f125368280ece3e1d7bce5620c5ae553f3a2a509;p=portage.git Remove the prefetch logic in EbuildFetcher._pipe() since prefetchers are always in the background anyway. svn path=/main/trunk/; revision=11681 --- 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()