(self, plugin)
Enable a plugin
Enable a plugin
Enable a plugin
def enable(self, plugin):
        """Enable a plugin"""
        if plugin in self.instances:
            err("Cannot enable plugin %s, already enabled" % plugin)
        dbg("Enabling %s" % plugin)
        self.instances[plugin] = self.available_plugins[plugin]()
def enable ( self , plugin ) : if plugin in self . instances : err ( "Cannot enable plugin %s, already enabled" % plugin ) dbg ( "Enabling %s" % plugin ) self . instances [ plugin ] = self . available_plugins [ plugin ] ( )