summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-07 09:59:48 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-07 09:59:48 +0000
commitdbdfdfb8498923f1ac30618b0be4c5a9c2e0b2c8 (patch)
tree3a2b5f8aae579869127c376d828b5ad0fcf5bd78
parentc6a7c98c8e3b2dd9535c95ef729032240eeb50c6 (diff)
downloadportage-dbdfdfb8498923f1ac30618b0be4c5a9c2e0b2c8.tar.gz
portage-dbdfdfb8498923f1ac30618b0be4c5a9c2e0b2c8.tar.bz2
portage-dbdfdfb8498923f1ac30618b0be4c5a9c2e0b2c8.zip
Add a TODO note about remaining work for bug #189417.
svn path=/main/trunk/; revision=8864
-rw-r--r--pym/portage/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index e5c73d116..545e33afa 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2583,6 +2583,11 @@ class config(object):
if filter_calling_env and \
x not in environ_whitelist and \
not self._environ_whitelist_re.match(x):
+ # TODO: Complete the whitelist so that comparisons with
+ # environment variables are not necessary. We want to
+ # prevent all but whitelisted variables from being able
+ # to leak into the environment, so a variable can be unset
+ # and it will remain unset for all phases (bug #189417).
if myvalue == env_d.get(x) or \
myvalue == os.environ.get(x):
continue