From 58131c1a6d43f77fcfdb67dff49ee0313ffee9c2 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 3 Jan 2018 12:23:13 +0000 Subject: [PATCH] framework/plugin: Fix clearing of loaded plugin `self.plugins` should be a dictionary and when being cleared was being reinitialized as a list. --- wa/framework/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/framework/plugin.py b/wa/framework/plugin.py index b1eac721..5cef895b 100644 --- a/wa/framework/plugin.py +++ b/wa/framework/plugin.py @@ -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):