'Set the enabled plugins of type plugin_type.
:param plugin_type: \'audit\', \'output\', etc.
:param plugin_names: [\'xss\', \'sqli\'] ...
:return: None'

def set_enabled_plugins(self, plugin_type, plugin_names):

    current_enabled_plugins = self.get_enabled_plugins(plugin_type)
    for already_enabled_plugin in current_enabled_plugins:
        if (already_enabled_plugin not in plugin_names):
            section = ('%s.%s' % (plugin_type, already_enabled_plugin))
            self._config.remove_section(section)
    for plugin in plugin_names:
        try:
            self._config.add_section(((plugin_type + '.') + plugin))
        except ConfigParser.DuplicateSectionError:
            pass
