public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11656 - main/trunk/pym/_emerge
@ 2008-10-08 16:16 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-10-08 16:16 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-10-08 16:16:35 +0000 (Wed, 08 Oct 2008)
New Revision: 11656

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Since EbuildBuild no longer directs it's EbuildFetcher instance's output
to the global fetch log, there's no need to schedule it on the fetch
queue.


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-10-08 03:27:43 UTC (rev 11655)
+++ main/trunk/pym/_emerge/__init__.py	2008-10-08 16:16:35 UTC (rev 11656)
@@ -2447,20 +2447,13 @@
 				self.wait()
 				return
 
-		fetch_log = None
-
 		fetcher = EbuildFetcher(config_pool=self.config_pool,
 			fetchall=opts.fetch_all_uri,
 			fetchonly=opts.fetchonly,
-			background=self.background, logfile=fetch_log,
+			background=self.background,
 			pkg=pkg, scheduler=self.scheduler)
 
-		if self.background:
-			fetcher.addExitListener(self._fetch_exit)
-			self._current_task = fetcher
-			self.scheduler.fetch.schedule(fetcher)
-		else:
-			self._start_task(fetcher, self._fetch_exit)
+		self._start_task(fetcher, self._fetch_exit)
 
 	def _fetch_exit(self, fetcher):
 		opts = self.opts




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-08 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 16:16 [gentoo-commits] portage r11656 - main/trunk/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox