From 141100fdbf0ec6130e50a48d110b0e2d7c929ab7 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 10 Jan 2010 17:20:08 +0000 Subject: [PATCH] Fixing defaultdict optimization so that it works svn: r14022 --- src/PluginUtils/_PluginDialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PluginUtils/_PluginDialogs.py b/src/PluginUtils/_PluginDialogs.py index f1200e9fe..6a01b6030 100644 --- a/src/PluginUtils/_PluginDialogs.py +++ b/src/PluginUtils/_PluginDialogs.py @@ -187,7 +187,7 @@ class PluginDialog(ManagedWindow.ManagedWindow): self.store.clear() # build the tree items and group together based on the category name - item_hash = defaultdict() + item_hash = defaultdict(list) for plugin in reg_list: if not plugin.supported: category = _UNSUPPORTED