mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
pluginloader: Replaced extension loader with WA3 plugin loader
In the process removed modules and boot_strap.py. Also Renamed extensions Plugins. Louie is now monkey patched rather than containing a modified version in external
This commit is contained in:
@@ -54,7 +54,7 @@ class StreamlineResourceGetter(ResourceGetter):
|
||||
priority = GetterPriority.environment + 1 # run before standard enviroment resolvers.
|
||||
|
||||
dependencies_directory = os.path.join(settings.dependencies_directory, 'streamline')
|
||||
old_dependencies_directory = os.path.join(settings.environment_root, 'streamline') # backwards compatibility
|
||||
#old_dependencies_directory = os.path.join(settings.environment_root, 'streamline') # backwards compatibility
|
||||
|
||||
def get(self, resource, **kwargs):
|
||||
if resource.owner.name != 'streamline':
|
||||
@@ -62,9 +62,9 @@ class StreamlineResourceGetter(ResourceGetter):
|
||||
test_path = _f(os.path.join(self.dependencies_directory, resource.path))
|
||||
if os.path.isfile(test_path):
|
||||
return test_path
|
||||
test_path = _f(os.path.join(self.old_dependencies_directory, resource.path))
|
||||
if os.path.isfile(test_path):
|
||||
return test_path
|
||||
#test_path = _f(os.path.join(self.old_dependencies_directory, resource.path))
|
||||
#if os.path.isfile(test_path):
|
||||
# return test_path
|
||||
|
||||
|
||||
def _instantiate(resolver):
|
||||
|
Reference in New Issue
Block a user