original_docstring: Retrieves a Windows Registry key-based plugin for a specific name.
  
      Args:
        registry_file_type: string containing the Windows Registry file type,
                            e.g. NTUSER, SOFTWARE.
        plugin_name: the name of the plugin.
  
      Returns:
        The Windows Registry plugin (instance of RegistryPlugin) or None.
      
docstring: Retrieves a Windows Registry key-based plugin for a specific name.
docstring_tokens: Retrieves a Windows Registry key - based plugin for a specific name .
code: def GetKeyPluginByName(self, registry_file_type, plugin_name):
      """Retrieves a Windows Registry key-based plugin for a specific name.
  
      Args:
        registry_file_type: string containing the Windows Registry file type,
                            e.g. NTUSER, SOFTWARE.
        plugin_name: the name of the plugin.
  
      Returns:
        The Windows Registry plugin (instance of RegistryPlugin) or None.
      """
      # TODO: make this a dict lookup instead of a list iteration.
      for plugin_cls in self.GetKeyPlugins(registry_file_type):
        if plugin_cls.NAME == plugin_name:
          return plugin_cls()
code_tokens: def GetKeyPluginByName ( self , registry_file_type , plugin_name ) : for plugin_cls in self . GetKeyPlugins ( registry_file_type ) : if plugin_cls . NAME == plugin_name : return plugin_cls ( )
short_docstring: Retrieves a Windows Registry key-based plugin for a specific name.
short_docstring_tokens: Retrieves a Windows Registry key - based plugin for a specific name .
comment: """Retrieves a Windows Registry key-based plugin for a specific name.
  
      Args:
        registry_file_type: string containing the Windows Registry file type,
                            e.g. NTUSER, SOFTWARE.
        plugin_name: the name of the plugin.
  
      Returns:
        The Windows Registry plugin (instance of RegistryPlugin) or None.
      """$SEP$# TODO: make this a dict lookup instead of a list iteration.