From 1e2f64abc739bd40c7ed84f4bede7d3ea4700e06 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 24 Mar 2010 18:59:24 -0700 Subject: Why is bb/__init__.py importing bb? (Bitbake rev: 3eb01a20cbbb2e7a2f6278089bcc9bb70021738f) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake') 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__ = [ "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) -- cgit v1.2.3-54-g00ecf