Remove the prefetch logic in EbuildFetcher._pipe() since prefetchers are
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Oct 2008 02:15:00 +0000 (02:15 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Oct 2008 02:15:00 +0000 (02:15 -0000)
always in the background anyway.

svn path=/main/trunk/; revision=11681

pym/_emerge/__init__.py

index a392c2d71e648d2a4642a8169a42cb2e5bb10356..d2233f136817cf633ac5327d4ecbb4e0177afc32 100644 (file)
@@ -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()