1
0
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:
Marc Bonnici 2018-01-03 12:23:13 +00:00 committed by setrofim
parent 4fc39dedbc
commit 58131c1a6d

View File

@ -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):