summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__ = [
"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)