summaryrefslogtreecommitdiffstats
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
parent964085f701a58c9a612e1230961fe3c22fede7ba (diff)
downloadpoky-1e2f64abc739bd40c7ed84f4bede7d3ea4700e06.tar.gz
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>
-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 f84bcd5f6f..c7cd0f62dd 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -53,7 +53,7 @@ __all__ = [
53 "providers", 53 "providers",
54 ] 54 ]
55 55
56import sys, os, types, re, string, bb 56import sys, os, types, re, string
57 57
58if "BBDEBUG" in os.environ: 58if "BBDEBUG" in os.environ:
59 level = int(os.environ["BBDEBUG"]) 59 level = int(os.environ["BBDEBUG"])
@@ -87,6 +87,7 @@ from bb.data import VarExpandError
87from bb.utils import mkdirhier, movefile, copyfile, which 87from bb.utils import mkdirhier, movefile, copyfile, which
88from bb.utils import vercmp 88from bb.utils import vercmp
89 89
90
90if __name__ == "__main__": 91if __name__ == "__main__":
91 import doctest, bb 92 import doctest, bb
92 bb.msg.set_debug_level(0) 93 bb.msg.set_debug_level(0)