summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py
index f289acc6b..7c84d8bd5 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -873,6 +873,8 @@ class config:
self.usemask = copy.deepcopy(clone.usemask)
self.configlist = copy.deepcopy(clone.configlist)
+ self.lookuplist = self.configlist[:]
+ self.lookuplist.reverse()
self.configdict = { "globals": self.configlist[0],
"defaults": self.configlist[1],
"conf": self.configlist[2],
@@ -1223,9 +1225,6 @@ class config:
self["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH
self.backup_changes("PORTAGE_PYM_PATH")
- self.lookuplist=self.configlist[:]
- self.lookuplist.reverse()
-
self.uvlist=[]
for x in self["USE_ORDER"].split(":"):
if self.configdict.has_key(x):