From: Zac Medico Date: Thu, 20 Jul 2006 08:53:46 +0000 (-0000) Subject: Move initialization of self.lookuplist to a more logical location for cloned config... X-Git-Tag: v2.1.1~173 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43817da205cba8078ecb8ffc9bce800b747a91d3;p=portage.git Move initialization of self.lookuplist to a more logical location for cloned config instances. svn path=/main/trunk/; revision=3968 --- 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):