summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 6a44db57d7..8550af34ae 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -1502,7 +1502,7 @@ def export_proxies(d):
1502 1502
1503def load_plugins(logger, plugins, pluginpath): 1503def load_plugins(logger, plugins, pluginpath):
1504 def load_plugin(name): 1504 def load_plugin(name):
1505 logger.debug('Loading plugin %s' % name) 1505 logger.debug(1, 'Loading plugin %s' % name)
1506 fp, pathname, description = imp.find_module(name, [pluginpath]) 1506 fp, pathname, description = imp.find_module(name, [pluginpath])
1507 try: 1507 try:
1508 return imp.load_module(name, fp, pathname, description) 1508 return imp.load_module(name, fp, pathname, description)
@@ -1510,7 +1510,7 @@ def load_plugins(logger, plugins, pluginpath):
1510 if fp: 1510 if fp:
1511 fp.close() 1511 fp.close()
1512 1512
1513 logger.debug('Loading plugins from %s...' % pluginpath) 1513 logger.debug(1, 'Loading plugins from %s...' % pluginpath)
1514 1514
1515 expanded = (glob.glob(os.path.join(pluginpath, '*' + ext)) 1515 expanded = (glob.glob(os.path.join(pluginpath, '*' + ext))
1516 for ext in python_extensions) 1516 for ext in python_extensions)