diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-10-12 02:15:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-10-12 02:15:00 +0000 |
commit | f125368280ece3e1d7bce5620c5ae553f3a2a509 (patch) | |
tree | 13193673825cf4653d5fd44469c2a42a98b45ae8 | |
parent | 0df0405f8f963f38a9e048dcfdd200a389ce32a3 (diff) | |
download | portage-f125368280ece3e1d7bce5620c5ae553f3a2a509.tar.gz portage-f125368280ece3e1d7bce5620c5ae553f3a2a509.tar.bz2 portage-f125368280ece3e1d7bce5620c5ae553f3a2a509.zip |
Remove the prefetch logic in EbuildFetcher._pipe() since prefetchers are
always in the background anyway.
svn path=/main/trunk/; revision=11681
-rw-r--r-- | pym/_emerge/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |