summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-16 08:47:54 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-16 08:47:54 +0000
commit6734b561e020fa3786ad51ff8688425a1e72cdb8 (patch)
treee52b5bb03bdb10e567027a6eabba1fa318025381
parente9ee4874808f703bdfa690de2583bb4126773b6f (diff)
downloadportage-6734b561e020fa3786ad51ff8688425a1e72cdb8.tar.gz
portage-6734b561e020fa3786ad51ff8688425a1e72cdb8.tar.bz2
portage-6734b561e020fa3786ad51ff8688425a1e72cdb8.zip
Pass background=True into prefetcher constructors.
svn path=/main/trunk/; revision=11076
-rw-r--r--pym/_emerge/__init__.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 34379b795..627fee373 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -8747,16 +8747,17 @@ class Scheduler(PollScheduler):
elif pkg.type_name == "ebuild":
- prefetcher = EbuildFetcher(fetchonly=1,
- logfile=self._fetch_log, pkg=pkg,
- scheduler=self._sched_iface)
+ prefetcher = EbuildFetcher(background=True,
+ fetchonly=1, logfile=self._fetch_log,
+ pkg=pkg, scheduler=self._sched_iface)
elif pkg.type_name == "binary" and \
"--getbinpkg" in self.myopts and \
pkg.root_config.trees["bintree"].isremote(pkg.cpv):
- prefetcher = BinpkgFetcher(logfile=self._fetch_log,
- pkg=pkg, scheduler=self._sched_iface)
+ prefetcher = BinpkgFetcher(background=True,
+ logfile=self._fetch_log, pkg=pkg,
+ scheduler=self._sched_iface)
return prefetcher