summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py6
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")