From f7d2413939ba15b024a853c960c27d22a4a3ac4e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 6 Dec 2008 12:57:17 +0000 Subject: Pass around the tasks to execute rather than using magic variables. Also use the empty_environment() function to clear the environment --- lib/bb/data.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/bb/data.py') diff --git a/lib/bb/data.py b/lib/bb/data.py index 82eef4498..19e67dbc3 100644 --- a/lib/bb/data.py +++ b/lib/bb/data.py @@ -331,8 +331,6 @@ def inheritFromOS(d): setVar(s, os.environ[s], d) except TypeError: pass - os.unsetenv(s) - del os.environ[s] def emit_var(var, o=sys.__stdout__, d = init(), all=False): """Emit a variable to be sourced by a shell.""" -- cgit 1.2.3-korg