Don't load a GENERAL lib if hidden

svn: r15813
This commit is contained in:
Doug Blank 2010-08-25 02:45:23 +00:00
parent 47e3d110d5
commit 1f9eee3d92

View File

@ -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: