parameters: (self)
return_statement: return self.channel_info.get('package_name_map', {})
docstring: :raises:
              ProviderException: when an error occurs with the channel contents
              DownloaderException: when an error occurs trying to open a URL
  
          :return:
              A dict of the mapping for URL slug -> package name
docstring_summary: :raises:
              ProviderException: when an error occurs with the channel contents
              DownloaderException: when an error occurs trying to open a URL
docstring_tokens: : raises : ProviderException : when an error occurs with the channel contents DownloaderException : when an error occurs trying to open a URL
function: def get_name_map(self):
          """
          :raises:
              ProviderException: when an error occurs with the channel contents
              DownloaderException: when an error occurs trying to open a URL
  
          :return:
              A dict of the mapping for URL slug -> package name
          """
  
          self.fetch()
  
          if self.schema_version >= 2.0:
              return {}
  
          return self.channel_info.get('package_name_map', {})
function_tokens: def get_name_map ( self ) : self . fetch ( ) if self . schema_version >= 2.0 : return { } return self . channel_info . get ( 'package_name_map' , { } )