From: Zac Medico Date: Thu, 20 Jul 2006 04:14:53 +0000 (-0000) Subject: When a config instance is cloned, don't initialize PORTAGE_GID since it would have... X-Git-Tag: v2.1.1~185 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98dea90417cef9b21f5ae98f2add513de3e511d2;p=portage.git When a config instance is cloned, don't initialize PORTAGE_GID since it would have been done already for the instance being cloned. svn path=/main/trunk/; revision=3956 --- diff --git a/pym/portage.py b/pym/portage.py index cb78ff4ee..c41dfbd60 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1192,6 +1192,9 @@ class config: if "USE_ORDER" not in self: self.backupenv["USE_ORDER"] = "env:pkg:conf:defaults" + self["PORTAGE_GID"] = str(portage_gid) + self.backup_changes("PORTAGE_GID") + self.lookuplist=self.configlist[:] self.lookuplist.reverse() @@ -1203,9 +1206,6 @@ class config: #prepend db to list to get correct order self.uvlist[0:0]=[self.configdict[x]] - self.configdict["env"]["PORTAGE_GID"]=str(portage_gid) - self.backupenv["PORTAGE_GID"]=str(portage_gid) - if self["PORTAGE_CACHEDIR"]: # XXX: Deprecated -- April 15 -- NJ writemsg(yellow(">>> PORTAGE_CACHEDIR has been deprecated!")+"\n")