mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 19:32:34 +01:00
framework/plugin: Fix clearing of loaded plugin
`self.plugins` should be a dictionary and when being cleared was being reinitialized as a list.
This commit is contained in:
@@ -443,7 +443,7 @@ class PluginLoader(object):
|
||||
|
||||
def clear(self):
|
||||
""" Clear all discovered items. """
|
||||
self.plugins = []
|
||||
self.plugins = {}
|
||||
self.kind_map.clear()
|
||||
|
||||
def reload(self):
|
||||
|
Reference in New Issue
Block a user