From 1f9eee3d926a349c3449154e8c292b63aace4a8c Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 25 Aug 2010 02:45:23 +0000 Subject: [PATCH] Don't load a GENERAL lib if hidden svn: r15813 --- src/gen/plug/_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gen/plug/_manager.py b/src/gen/plug/_manager.py index 77cbca2a2..949304888 100644 --- a/src/gen/plug/_manager.py +++ b/src/gen/plug/_manager.py @@ -130,6 +130,8 @@ class BasePluginManager(object): # Run plugins that request to be loaded on startup and # have a load_on_reg callable. for plugin in self.__pgr.filter_load_on_reg(): + if plugin.id in config.get("plugin.hiddenplugins"): + continue mod = self.load_plugin(plugin) if hasattr(mod, "load_on_reg"): try: