public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r12896 - main/branches/2.1.6/pym/_emerge
@ 2009-03-11  5:18 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-11  5:18 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-03-11 05:18:56 +0000 (Wed, 11 Mar 2009)
New Revision: 12896

Modified:
   main/branches/2.1.6/pym/_emerge/__init__.py
Log:
Bug #259124 - Inside EbuildFetcher._start(), pass the NOCOLOR variable into
the fetch environment, so that --color=n is respected. (trunk r12621)

Modified: main/branches/2.1.6/pym/_emerge/__init__.py
===================================================================
--- main/branches/2.1.6/pym/_emerge/__init__.py	2009-03-11 05:18:42 UTC (rev 12895)
+++ main/branches/2.1.6/pym/_emerge/__init__.py	2009-03-11 05:18:56 UTC (rev 12896)
@@ -2439,6 +2439,10 @@
 		# the config instance in the subproccess.
 		fetch_env = os.environ.copy()
 
+		nocolor = settings.get("NOCOLOR")
+		if nocolor is not None:
+			fetch_env["NOCOLOR"] = nocolor
+
 		fetch_env["PORTAGE_NICENESS"] = "0"
 		if self.prefetch:
 			fetch_env["PORTAGE_PARALLEL_FETCHONLY"] = "1"




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

only message in thread, other threads:[~2009-03-11  5:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  5:18 [gentoo-commits] portage r12896 - main/branches/2.1.6/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