Pass background=True into prefetcher constructors.
authorZac Medico <zmedico@gentoo.org>
Wed, 16 Jul 2008 08:47:54 +0000 (08:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 16 Jul 2008 08:47:54 +0000 (08:47 -0000)
svn path=/main/trunk/; revision=11076

pym/_emerge/__init__.py

index 34379b795024983766a72575f145e806a29adaaa..627fee373d947d0a6370e01a71f8a533cb680b7a 100644 (file)
@@ -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