projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e6c54
)
Bug #259124 - Inside EbuildFetcher._start(), pass the NOCOLOR variable into
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 05:18:56 +0000
(
05:18
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 05:18:56 +0000
(
05:18
-0000)
the fetch environment, so that --color=n is respected. (trunk r12621)
svn path=/main/branches/2.1.6/; revision=12896
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 51a2df8887eebb0555b21f2d05d38136b5177775..dc848fc9db1f942a5334c6fee879ba1bb1ed2336 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-2439,6
+2439,10
@@
class EbuildFetcher(SpawnProcess):
# 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"