1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00

framework/pluginloader: Make sure to also clear aliases

When 'clearing' the pluginloader previously any aliases already
discovered were not removed, now ensure all discovered items are
removed.
This commit is contained in:
Marc Bonnici 2018-05-23 15:51:42 +01:00 committed by setrofim
parent 30f856abe0
commit 03e5c6c0af

View File

@ -455,6 +455,8 @@ class PluginLoader(object):
""" Clear all discovered items. """
self.plugins = {}
self.kind_map.clear()
self.aliases.clear()
self.global_param_aliases.clear()
def reload(self):
""" Clear all discovered items and re-run the discovery. """