summaryrefslogtreecommitdiffstats
path: root/pym/portage/package/ebuild/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/package/ebuild/config.py')
-rw-r--r--pym/portage/package/ebuild/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index 959ecbedb..53a625bc3 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -685,9 +685,6 @@ class config(object):
if "USE_ORDER" not in self:
self.backupenv["USE_ORDER"] = "env:pkg:conf:defaults:pkginternal:repo:env.d"
- self["PORTAGE_GID"] = str(portage_gid)
- self.backup_changes("PORTAGE_GID")
-
self.depcachedir = DEPCACHE_PATH
if eprefix:
# See comments about make.globals and EPREFIX
@@ -2096,6 +2093,8 @@ class config(object):
return portage._bin_path
elif mykey == "PORTAGE_PYM_PATH":
return portage._pym_path
+ elif mykey == "PORTAGE_GID":
+ return _unicode_decode(str(portage_gid))
for d in self.lookuplist:
try:
@@ -2150,6 +2149,7 @@ class config(object):
keys = set()
keys.add("PORTAGE_BIN_PATH")
keys.add("PORTAGE_PYM_PATH")
+ keys.add("PORTAGE_GID")
for d in self.lookuplist:
keys.update(d)
return iter(keys)