diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-20 04:14:53 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-20 04:14:53 +0000 |
commit | 98dea90417cef9b21f5ae98f2add513de3e511d2 (patch) | |
tree | 54ba0b9625b29d9c3ff6403667708a247618cbf4 | |
parent | 5ed90695c081f4fa5fde2873be3c16aa6bd4c569 (diff) | |
download | portage-98dea90417cef9b21f5ae98f2add513de3e511d2.tar.gz portage-98dea90417cef9b21f5ae98f2add513de3e511d2.tar.bz2 portage-98dea90417cef9b21f5ae98f2add513de3e511d2.zip |
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
-rw-r--r-- | pym/portage.py | 6 |
1 files changed, 3 insertions, 3 deletions
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") |