[bitbake-devel] [PATCH 1/2] lib/bb/utils.py: Add missing debug level

Mark Hatle mark.hatle at windriver.com
Wed Jul 26 15:20:34 UTC 2017


Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
 lib/bb/utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index 6a44db5..8550af3 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -1502,7 +1502,7 @@ def export_proxies(d):
 
 def load_plugins(logger, plugins, pluginpath):
     def load_plugin(name):
-        logger.debug('Loading plugin %s' % name)
+        logger.debug(1, 'Loading plugin %s' % name)
         fp, pathname, description = imp.find_module(name, [pluginpath])
         try:
             return imp.load_module(name, fp, pathname, description)
@@ -1510,7 +1510,7 @@ def load_plugins(logger, plugins, pluginpath):
             if fp:
                 fp.close()
 
-    logger.debug('Loading plugins from %s...' % pluginpath)
+    logger.debug(1, 'Loading plugins from %s...' % pluginpath)
 
     expanded = (glob.glob(os.path.join(pluginpath, '*' + ext))
                 for ext in python_extensions)
-- 
1.8.3.1




More information about the bitbake-devel mailing list