From d3a81688fa9b4651d7b6767e09c538fe65d60584 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 12 Sep 2003 21:40:34 +0000 Subject: [PATCH] Made sure the default plugins aren't listed in the plugins list. --- scripts/setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/setup.py b/scripts/setup.py index 676ecdef5..d3d4735f4 100644 --- a/scripts/setup.py +++ b/scripts/setup.py @@ -133,6 +133,11 @@ if __name__ == '__main__': if filename.endswith('.py') and filename[0].isupper(): plugins.append(os.path.splitext(filename)[0]) plugins.sort() + for s in onStart: + if s.startswith('load'): + (_, plugin) = s.split() + if plugin in plugins: + plugins.remove(plugin) if yn('Would you like to see a list of the available modules?') == 'y': print 'The available plugins are:\n %s' % '\n '.join(plugins) while yn('Would you like to add a plugin?') == 'y':