summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r--bitbake/lib/bb/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 4c894cbb0c..7d37a745a4 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -264,7 +264,7 @@ def _print_trace(body, line):
264def better_compile(text, file, realfile, mode = "exec"): 264def better_compile(text, file, realfile, mode = "exec"):
265 """ 265 """
266 A better compile method. This method 266 A better compile method. This method
267 will print the offending lines. 267 will print the offending lines.
268 """ 268 """
269 try: 269 try:
270 return compile(text, file, mode) 270 return compile(text, file, mode)
@@ -530,7 +530,7 @@ def filter_environment(good_vars):
530def approved_variables(): 530def approved_variables():
531 """ 531 """
532 Determine and return the list of whitelisted variables which are approved 532 Determine and return the list of whitelisted variables which are approved
533 to remain in the envrionment. 533 to remain in the environment.
534 """ 534 """
535 if 'BB_PRESERVE_ENV' in os.environ: 535 if 'BB_PRESERVE_ENV' in os.environ:
536 return os.environ.keys() 536 return os.environ.keys()