summaryrefslogtreecommitdiffstats
path: root/lib/bb/data.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-06 12:57:17 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-06 12:57:17 +0000
commitf7d2413939ba15b024a853c960c27d22a4a3ac4e (patch)
tree8a4e489ea2b2329c3208e04e0bdeccb0d47a4e4e /lib/bb/data.py
parenta59037d9b5baecfdf389a6d57712ea709d0b1ff6 (diff)
downloadbitbake-f7d2413939ba15b024a853c960c27d22a4a3ac4e.tar.gz
Pass around the tasks to execute rather than using magic variables. Also use the empty_environment() function to clear the environment
Diffstat (limited to 'lib/bb/data.py')
-rw-r--r--lib/bb/data.py2
1 files changed, 0 insertions, 2 deletions
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."""