From 43817da205cba8078ecb8ffc9bce800b747a91d3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Jul 2006 08:53:46 +0000 Subject: [PATCH] Move initialization of self.lookuplist to a more logical location for cloned config instances. svn path=/main/trunk/; revision=3968 --- pym/portage.py | 5 ++--- 1 file 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): -- 2.26.2