summaryrefslogtreecommitdiffstats
path: root/pym/portage/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/data.py')
-rw-r--r--pym/portage/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index fe390a130..53af6b966 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -82,7 +82,7 @@ def _get_global(k):
secpass = 0
if uid == 0:
secpass = 2
- elif "__PORTAGE_TEST_EPREFIX" in os.environ:
+ elif portage.const.EPREFIX:
secpass = 2
#Discover the uid and gid of the portage user/group
try: