projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f475f8
)
Combine prefetch conditionals in EbuildFetcher.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 9 Sep 2010 17:13:23 +0000
(10:13 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 9 Sep 2010 17:13:23 +0000
(10:13 -0700)
pym/_emerge/EbuildFetcher.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/EbuildFetcher.py
b/pym/_emerge/EbuildFetcher.py
index 87c82db586051aa1b02c617169cf601d6a8b3647..191d56ee7ae685bce1f6d71079adf429e8a0c9df 100644
(file)
--- a/
pym/_emerge/EbuildFetcher.py
+++ b/
pym/_emerge/EbuildFetcher.py
@@
-66,6
+66,7
@@
class EbuildFetcher(SpawnProcess):
nocolor = settings.get("NOCOLOR")
if self.prefetch:
+ fetch_env["PORTAGE_PARALLEL_FETCHONLY"] = "1"
# prefetch always outputs to a log, so
# always disable color
nocolor = "true"
@@
-74,8
+75,6
@@
class EbuildFetcher(SpawnProcess):
fetch_env["NOCOLOR"] = nocolor
fetch_env["PORTAGE_NICENESS"] = "0"
- if self.prefetch:
- fetch_env["PORTAGE_PARALLEL_FETCHONLY"] = "1"
ebuild_binary = os.path.join(
settings["PORTAGE_BIN_PATH"], "ebuild")