mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04: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:
		| @@ -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): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user