diff options
| author | Chris Larson <chris_larson@mentor.com> | 2010-03-24 18:59:24 -0700 | 
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-25 17:25:59 +0000 | 
| commit | 1e2f64abc739bd40c7ed84f4bede7d3ea4700e06 (patch) | |
| tree | 4b4780771f3da7f955bcdfadee4856084d844e4b | |
| parent | 964085f701a58c9a612e1230961fe3c22fede7ba (diff) | |
| download | poky-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__.py | 3 | 
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 | ||
| 56 | import sys, os, types, re, string, bb | 56 | import sys, os, types, re, string | 
| 57 | 57 | ||
| 58 | if "BBDEBUG" in os.environ: | 58 | if "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 | |||
| 87 | from bb.utils import mkdirhier, movefile, copyfile, which | 87 | from bb.utils import mkdirhier, movefile, copyfile, which | 
| 88 | from bb.utils import vercmp | 88 | from bb.utils import vercmp | 
| 89 | 89 | ||
| 90 | |||
| 90 | if __name__ == "__main__": | 91 | if __name__ == "__main__": | 
| 91 | import doctest, bb | 92 | import doctest, bb | 
| 92 | bb.msg.set_debug_level(0) | 93 | bb.msg.set_debug_level(0) | 
