From 3fb006dccb20a74d301d45812f6410ce57a9991f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 7 Sep 2007 03:11:02 +0000 Subject: For bug #190268, filter SANDBOX_* from the calling environment so that they can't interfere with ebuild.sh. (trunk r7746) svn path=/main/branches/2.1.2/; revision=7747 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 28e54af7b..a4fb9a9e5 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1313,7 +1313,8 @@ class config: # 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