diff options
Diffstat (limited to 'lib/bb/build.py')
-rw-r--r-- | lib/bb/build.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index 4bd48e60a..5e494deff 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -25,15 +25,14 @@ # #Based on functions from the base bb module, Copyright 2003 Holger Schurig +import logging import os import sys -import logging import bb import bb.msg import bb.utils import bb.process -from contextlib import nested -from bb import data, event, mkdirhier, utils +from bb import data, event, utils bblogger = logging.getLogger('BitBake') logger = logging.getLogger('BitBake.Build') @@ -41,13 +40,6 @@ logger = logging.getLogger('BitBake.Build') NULL = open('/dev/null', 'a') -# When we execute a python function we'd like certain things -# in all namespaces, hence we add them to __builtins__ -# If we do not do this and use the exec globals, they will -# not be available to subfunctions. -__builtins__['bb'] = bb -__builtins__['os'] = os - class FuncFailed(Exception): def __init__(self, name, logfile = None): self.logfile = logfile |