From ef3d4aa1eefd0798a49372903415f7aa779bf718 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 8 Sep 2007 07:01:39 +0000 Subject: 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 --- pym/portage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pym/portage.py') 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 -- cgit v1.2.3-1-g7c22