def _FindOutputPluginByName(self, plugin_name):
    for cls in output_plugin_lib.OutputPlugin.classes.itervalues():
      if cls.name == plugin_name:
        return cls

    raise KeyError(plugin_name)
Finds output plugin with a given name.
dataset/ETHPy150Open google/grr/grr/tools/export_plugins/plugin.py/OutputPluginBasedExportPlugin._FindOutputPluginByName