From 2a8b08675bd5b9ec4ac6c3655808d47503d8f701 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 29 Nov 2008 16:27:08 +0000 Subject: [PATCH] Reset import and export lists (others may need to be reset, too) svn: r11361 --- src/gen/plug/_manager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gen/plug/_manager.py b/src/gen/plug/_manager.py index 38b835c20..3f4c3b6c0 100644 --- a/src/gen/plug/_manager.py +++ b/src/gen/plug/_manager.py @@ -161,6 +161,10 @@ class PluginManager(gen.utils.Callback): self.__failmsg_list = [] # attempt to reload all plugins that have succeeded in the past + # TODO: do other lists need to be reset here, too? + self.__import_plugins[:] = [] + self.__export_plugins[:] = [] + for plugin in self.__success_list: filename = plugin[0] filename = filename.replace('pyc','py')