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

Author: zmedico
Date: 2008-07-19 10:55:50 +0000 (Sat, 19 Jul 2008)
New Revision: 11137

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Instead of calling _background_mode(), use the cached result.


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-07-19 10:28:09 UTC (rev 11136)
+++ main/trunk/pym/_emerge/__init__.py	2008-07-19 10:55:50 UTC (rev 11137)
@@ -8914,7 +8914,7 @@
 		log_path = pkg_dblink.settings.get("PORTAGE_LOG_FILE")
 		log_file = None
 		out = sys.stdout
-		background = self._background_mode()
+		background = self._background
 
 		if background and log_path is not None:
 			log_file = open(log_path, 'a')
@@ -8929,7 +8929,7 @@
 
 	def _dblink_display_merge(self, pkg_dblink, msg, level=0, noiselevel=0):
 		log_path = pkg_dblink.settings.get("PORTAGE_LOG_FILE")
-		background = self._background_mode()
+		background = self._background
 
 		if log_path is None:
 			if not (background and level < logging.WARN):
@@ -8952,7 +8952,7 @@
 		scheduler = self._sched_iface
 		settings = pkg_dblink.settings
 		pkg = self._dblink_pkg(pkg_dblink)
-		background = self._background_mode()
+		background = self._background
 		log_path = settings.get("PORTAGE_LOG_FILE")
 
 		ebuild_phase = EbuildPhase(background=background,
@@ -9211,7 +9211,7 @@
 
 		self._logger.log(" *** Finished. Cleaning up...")
 
-		background = self._background_mode()
+		background = self._background
 		if self._failed_pkgs_all and background and \
 			self._failed_pkgs_die_msgs and \
 			not _flush_elog_mod_echo():

-- 
gentoo-commits@lists.gentoo.org mailing list



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

only message in thread, other threads:[~2008-07-19 10:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19 10:55 [gentoo-commits] portage r11137 - 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