mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +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):
|
||||
""" Clear all discovered items. """
|
||||
self.plugins = []
|
||||
self.plugins = {}
|
||||
self.kind_map.clear()
|
||||
|
||||
def reload(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user