summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/porttree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 1fe162bff..71ff993ba 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -654,7 +654,8 @@ class portdbapi(dbapi):
# Hack: Need to check the env directly here as otherwise stacking
# doesn't work properly as negative values are lost in the config
# object (bug #139600)
- egroups = os.environ.get("ACCEPT_KEYWORDS", "").split()
+ egroups = self.mysettings.configdict["backupenv"].get(
+ "ACCEPT_KEYWORDS", "").split()
for mycpv in mylist:
try: