summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-07-26 10:20:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-27 15:14:20 +0100
commitc6c1823ef2b410a42ef5b08765d45e7fd1c1efec (patch)
treecd2faf5b88302d1d23c982e067a1247153137d7f
parent8e15e9b6e478f6368034519b2a8fd3c7ea71d23b (diff)
downloadpoky-c6c1823ef2b410a42ef5b08765d45e7fd1c1efec.tar.gz
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>
-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)