From: Zac Medico Date: Wed, 16 Jul 2008 08:47:54 +0000 (-0000) Subject: Pass background=True into prefetcher constructors. X-Git-Tag: v2.2_rc2~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6734b561e020fa3786ad51ff8688425a1e72cdb8;p=portage.git Pass background=True into prefetcher constructors. svn path=/main/trunk/; revision=11076 --- 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