diff options
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r-- | bitbake/lib/bb/data.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 82eef44989..19e67dbc37 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -331,8 +331,6 @@ def inheritFromOS(d): | |||
331 | setVar(s, os.environ[s], d) | 331 | setVar(s, os.environ[s], d) |
332 | except TypeError: | 332 | except TypeError: |
333 | pass | 333 | pass |
334 | os.unsetenv(s) | ||
335 | del os.environ[s] | ||
336 | 334 | ||
337 | def emit_var(var, o=sys.__stdout__, d = init(), all=False): | 335 | def emit_var(var, o=sys.__stdout__, d = init(), all=False): |
338 | """Emit a variable to be sourced by a shell.""" | 336 | """Emit a variable to be sourced by a shell.""" |