diff options
Diffstat (limited to 'bitbake-dev/lib/bb/data.py')
-rw-r--r-- | bitbake-dev/lib/bb/data.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/data.py b/bitbake-dev/lib/bb/data.py index cc08d69009..d3058b9a1d 100644 --- a/bitbake-dev/lib/bb/data.py +++ b/bitbake-dev/lib/bb/data.py | |||
@@ -37,7 +37,7 @@ the speed is more critical here. | |||
37 | # | 37 | # |
38 | #Based on functions from the base bb module, Copyright 2003 Holger Schurig | 38 | #Based on functions from the base bb module, Copyright 2003 Holger Schurig |
39 | 39 | ||
40 | import sys, os, re, time, types | 40 | import sys, os, re, types |
41 | if sys.argv[0][-5:] == "pydoc": | 41 | if sys.argv[0][-5:] == "pydoc": |
42 | path = os.path.dirname(os.path.dirname(sys.argv[1])) | 42 | path = os.path.dirname(os.path.dirname(sys.argv[1])) |
43 | else: | 43 | else: |
@@ -553,7 +553,9 @@ def inherits_class(klass, d): | |||
553 | def _test(): | 553 | def _test(): |
554 | """Start a doctest run on this module""" | 554 | """Start a doctest run on this module""" |
555 | import doctest | 555 | import doctest |
556 | import bb | ||
556 | from bb import data | 557 | from bb import data |
558 | bb.msg.set_debug_level(0) | ||
557 | doctest.testmod(data) | 559 | doctest.testmod(data) |
558 | 560 | ||
559 | if __name__ == "__main__": | 561 | if __name__ == "__main__": |