summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 2c2307bb6..bd32e7f3e 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -4249,7 +4249,7 @@ def _spawn_fetch(settings, args, **kwargs):
if args[0] != BASH_BINARY:
args = [BASH_BINARY, "-c", "exec \"$@\"", args[0]] + args
- rval = spawn_func(args, env=dict(iter(settings.items())), **kwargs)
+ rval = spawn_func(args, env=settings.environ(), **kwargs)
return rval