summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 4f8ac9573b..44ad3965a2 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -38,8 +38,7 @@ from bb import data, event, mkdirhier, utils
38bblogger = logging.getLogger('BitBake') 38bblogger = logging.getLogger('BitBake')
39logger = logging.getLogger('BitBake.Build') 39logger = logging.getLogger('BitBake.Build')
40 40
41NULL = open('/dev/null', 'r') 41NULL = open(os.devnull, 'r+')
42
43 42
44# When we execute a python function we'd like certain things 43# When we execute a python function we'd like certain things
45# in all namespaces, hence we add them to __builtins__ 44# in all namespaces, hence we add them to __builtins__