code: def _convert_to_standard_attr(attr):
      '''
      Helper function for _process_info_installed_output()
  
      Converts an opkg attribute name to a standard attribute
      name which is used across 'pkg' modules.
      '''
      ret_attr = ATTR_MAP.get(attr, None)
      if ret_attr is None:
          # All others convert to lowercase
          return attr.lower()
      return ret_attf _convert_to_standard_attr(attr):
      '''
      Helper function for _process_info_installed_output()
  
      Converts an opkg attribute name to a standard attribute
      name which is used across 'pkg' modules.
      '''
      ret_attr = ATTR_MAP.get(attr, None)
      if ret_attr is None:
          # All others convert to lowercase
          return attr.lower()
      return ret_attr
docs: Helper function for _process_info_installed_output()
  
      Converts an opkg attribute name to a standard attribute
      name which is used across 'pkg' modules.