summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge')
-rw-r--r--pym/_emerge/__init__.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index a7d0c5c67..877d64179 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2217,8 +2217,6 @@ class EbuildFetcher(SpawnProcess):
__slots__ = ("fetchonly", "pkg",)
- _env_vars = ("FETCHCOMMAND", "GENTOO_MIRRORS", "RESUMECOMMAND")
-
def _start(self):
root_config = self.pkg.root_config
@@ -2226,12 +2224,8 @@ class EbuildFetcher(SpawnProcess):
ebuild_path = portdb.findname(self.pkg.cpv)
settings = root_config.settings
- fetch_env = settings.environ()
+ fetch_env = dict(settings.iteritems())
fetch_env["PORTAGE_NICENESS"] = "0"
- for k in self._env_vars:
- v = settings.get(k)
- if v is not None:
- fetch_env[k] = v
if self.fetchonly:
fetch_env["PORTAGE_PARALLEL_FETCHONLY"] = "1"