diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 5c775bd8a8..b282d09abf 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -609,7 +609,7 @@ def filter_environment(good_vars): | |||
609 | os.environ["LC_ALL"] = "en_US.UTF-8" | 609 | os.environ["LC_ALL"] = "en_US.UTF-8" |
610 | 610 | ||
611 | if removed_vars: | 611 | if removed_vars: |
612 | logger.debug(1, "Removed the following variables from the environment: %s", ", ".join(removed_vars.keys())) | 612 | logger.debug("Removed the following variables from the environment: %s", ", ".join(removed_vars.keys())) |
613 | 613 | ||
614 | return removed_vars | 614 | return removed_vars |
615 | 615 | ||
@@ -1613,12 +1613,12 @@ def export_proxies(d): | |||
1613 | 1613 | ||
1614 | def load_plugins(logger, plugins, pluginpath): | 1614 | def load_plugins(logger, plugins, pluginpath): |
1615 | def load_plugin(name): | 1615 | def load_plugin(name): |
1616 | logger.debug(1, 'Loading plugin %s' % name) | 1616 | logger.debug('Loading plugin %s' % name) |
1617 | spec = importlib.machinery.PathFinder.find_spec(name, path=[pluginpath] ) | 1617 | spec = importlib.machinery.PathFinder.find_spec(name, path=[pluginpath] ) |
1618 | if spec: | 1618 | if spec: |
1619 | return spec.loader.load_module() | 1619 | return spec.loader.load_module() |
1620 | 1620 | ||
1621 | logger.debug(1, 'Loading plugins from %s...' % pluginpath) | 1621 | logger.debug('Loading plugins from %s...' % pluginpath) |
1622 | 1622 | ||
1623 | expanded = (glob.glob(os.path.join(pluginpath, '*' + ext)) | 1623 | expanded = (glob.glob(os.path.join(pluginpath, '*' + ext)) |
1624 | for ext in python_extensions) | 1624 | for ext in python_extensions) |