From 8eb244e46b6c113008d31f5d8402e78f9fb17778 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 7 Sep 2007 03:09:48 +0000 Subject: For bug #190268, filter SANDBOX_* from the calling environment so that they can't interfere with ebuild.sh. svn path=/main/trunk/; revision=7746 --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index e11b8f419..62648ee87 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -1201,7 +1201,8 @@ class config(object): # Blacklist vars that could interfere with portage internals. for blacklisted in "CATEGORY", "PKGUSE", "PORTAGE_CONFIGROOT", \ - "ROOT": + "ROOT", "SANDBOX_DENY", "SANDBOX_PREDICT", "SANDBOX_READ", \ + "SANDBOX_WRITE": for cfg in self.lookuplist: cfg.pop(blacklisted, None) del blacklisted, cfg -- cgit v1.2.3-1-g7c22