mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: lib/bb/utils.py: Add missing debug level
(Bitbake rev: a0cd748d2f830a305da086eff3462875f64f2a70) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8e15e9b6e4
commit
c6c1823ef2
@@ -1502,7 +1502,7 @@ def export_proxies(d):
|
|||||||
|
|
||||||
def load_plugins(logger, plugins, pluginpath):
|
def load_plugins(logger, plugins, pluginpath):
|
||||||
def load_plugin(name):
|
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])
|
fp, pathname, description = imp.find_module(name, [pluginpath])
|
||||||
try:
|
try:
|
||||||
return imp.load_module(name, fp, pathname, description)
|
return imp.load_module(name, fp, pathname, description)
|
||||||
@@ -1510,7 +1510,7 @@ def load_plugins(logger, plugins, pluginpath):
|
|||||||
if fp:
|
if fp:
|
||||||
fp.close()
|
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))
|
expanded = (glob.glob(os.path.join(pluginpath, '*' + ext))
|
||||||
for ext in python_extensions)
|
for ext in python_extensions)
|
||||||
|
|||||||
Reference in New Issue
Block a user