mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 03:42:35 +01:00
fw/config: add plugin_paths property to settings
Add plugin_paths property to settings which combines plugins_directory with extra_plugin_paths, and use that inside pluginloader.
This commit is contained in:
committed by
Marc Bonnici
parent
ed9dcdedd7
commit
be43d5d9b7
@@ -38,7 +38,7 @@ class __LoaderWrapper(object):
|
||||
from wa.framework.plugin import PluginLoader
|
||||
from wa.framework.configuration.core import settings
|
||||
self._loader = PluginLoader(settings.plugin_packages,
|
||||
[settings.plugins_directory], [])
|
||||
settings.plugin_paths, [])
|
||||
|
||||
def update(self, packages=None, paths=None, ignore_paths=None):
|
||||
if not self._loader:
|
||||
|
Reference in New Issue
Block a user