Add '_' to blacklisted env vars
Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/1ceb4382 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/1ceb4382 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/1ceb4382 Branch: refs/heads/master Commit: 1ceb4382d3709c872a37fa411cd56b496240376c Parents: 01f56d5 Author: Thomas Jackson <[email protected]> Authored: Fri Jan 16 19:17:12 2015 -0800 Committer: Thomas Jackson <[email protected]> Committed: Fri Jan 16 19:17:12 2015 -0800 ---------------------------------------------------------------------- tsqa/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/1ceb4382/tsqa/environment.py ---------------------------------------------------------------------- diff --git a/tsqa/environment.py b/tsqa/environment.py index 34e0984..0e0173a 100644 --- a/tsqa/environment.py +++ b/tsqa/environment.py @@ -121,7 +121,7 @@ class EnvironmentFactory(object): # TODO: only de-dupe for get_key?? for now we don't care since all of these # have no effect on build, but if we add one that does we'll care # TODO: global? - for blacklisted_key in ('PWD', 'OLDPWD', 'LD_LIBRARY_PATH', 'TS_ROOT'): + for blacklisted_key in ('PWD', 'OLDPWD', 'LD_LIBRARY_PATH', 'TS_ROOT', '_'): if blacklisted_key in env: del env[blacklisted_key]
