summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 53b0a2c8a..22e6455d6 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5678,6 +5678,7 @@ class portdbapi(dbapi):
return []
newlist=[]
+ accept_keywords = self.mysettings["ACCEPT_KEYWORDS"].split()
pkgdict = self.mysettings.pkeywordsdict
for mycpv in mylist:
#we need to update this next line when we have fully integrated the new db api
@@ -5704,7 +5705,7 @@ class portdbapi(dbapi):
continue
mygroups=keys.split()
# Repoman may modify this attribute as necessary.
- pgroups = self.mysettings["ACCEPT_KEYWORDS"].split()
+ pgroups = accept_keywords[:]
match=0
cp = dep_getkey(mycpv)
if pkgdict.has_key(cp):