summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-09-08 07:01:39 +0000
committerZac Medico <zmedico@gentoo.org>2007-09-08 07:01:39 +0000
commitef3d4aa1eefd0798a49372903415f7aa779bf718 (patch)
treef6d84e1c8f13def1362e55d7784a7b04cb7667eb /pym/portage.py
parent3fb006dccb20a74d301d45812f6410ce57a9991f (diff)
downloadportage-ef3d4aa1eefd0798a49372903415f7aa779bf718.tar.gz
portage-ef3d4aa1eefd0798a49372903415f7aa779bf718.tar.bz2
portage-ef3d4aa1eefd0798a49372903415f7aa779bf718.zip
Bug #190268 - Avoid unwanted sandbox violations in src_test().
- Allow SANDBOX_* variables to pass through. - Don't try to create an sandbox instance inside a test case in order to interaction with SANDBOX_* variables in src_test(). (trunk r7759) svn path=/main/branches/2.1.2/; revision=7760
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index a4fb9a9e5..28e54af7b 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1313,8 +1313,7 @@ class config:
# Blacklist vars that could interfere with portage internals.
for blacklisted in "CATEGORY", "PKGUSE", "PORTAGE_CONFIGROOT", \
- "ROOT", "SANDBOX_DENY", "SANDBOX_PREDICT", "SANDBOX_READ", \
- "SANDBOX_WRITE":
+ "ROOT":
for cfg in self.lookuplist:
cfg.pop(blacklisted, None)
del blacklisted, cfg