mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-01 16:28:41 +00: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:
parent
4fc39dedbc
commit
58131c1a6d
@ -443,7 +443,7 @@ class PluginLoader(object):
|
|||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
""" Clear all discovered items. """
|
""" Clear all discovered items. """
|
||||||
self.plugins = []
|
self.plugins = {}
|
||||||
self.kind_map.clear()
|
self.kind_map.clear()
|
||||||
|
|
||||||
def reload(self):
|
def reload(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user