summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-03-24 18:59:24 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-25 17:25:59 +0000
commit1e2f64abc739bd40c7ed84f4bede7d3ea4700e06 (patch)
tree4b4780771f3da7f955bcdfadee4856084d844e4b /bitbake
parent964085f701a58c9a612e1230961fe3c22fede7ba (diff)
downloadopenembedded-core-1e2f64abc739bd40c7ed84f4bede7d3ea4700e06.tar.gz
openembedded-core-1e2f64abc739bd40c7ed84f4bede7d3ea4700e06.tar.bz2
openembedded-core-1e2f64abc739bd40c7ed84f4bede7d3ea4700e06.tar.xz
openembedded-core-1e2f64abc739bd40c7ed84f4bede7d3ea4700e06.zip
Why is bb/__init__.py importing bb?
(Bitbake rev: 3eb01a20cbbb2e7a2f6278089bcc9bb70021738f) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index f84bcd5f6..c7cd0f62d 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -53,7 +53,7 @@ __all__ = [
"providers",
]
-import sys, os, types, re, string, bb
+import sys, os, types, re, string
if "BBDEBUG" in os.environ:
level = int(os.environ["BBDEBUG"])
@@ -87,6 +87,7 @@ from bb.data import VarExpandError
from bb.utils import mkdirhier, movefile, copyfile, which
from bb.utils import vercmp
+
if __name__ == "__main__":
import doctest, bb
bb.msg.set_debug_level(0)