projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
861fb71
)
Bug #259124 - Inside EbuildFetcher._start(), pass the NOCOLOR variable into
author
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Feb 2009 01:27:02 +0000
(
01:27
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Feb 2009 01:27:02 +0000
(
01:27
-0000)
the fetch environment, so that --color=n is respected.
svn path=/main/trunk/; revision=12621
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 822672f3fc612af89acc66a0dfaeed6f6700408e..e63da7d5e278ba757e7edfe4f8c7e86f43e50cd9 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-2458,6
+2458,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"