tools/resources/list_resources_removed_by_repack.py
def GetResourceIdsFromRepackMessage(in_data):
  """Returns sorted set of resource ids that are not used from in_data.
  """
  unused_resources = set()
  unused_pattern = re.compile(
      'RePackFromDataPackStrings Removed Key: (?P<resource_id>[0-9]+)')
  for line in in_data:
    match = unused_pattern.match(line)
    if match:
      resource_id = int(match.group('resource_id'))
      unused_resources.add(resource_id)
  return sorted(unused_resources)
Returns sorted set of resource ids that are not used from in_data.
  
Returns sorted set of resource ids that are not used from in_data.
Returns sorted set of resource ids that are not used from in_data .
def GetResourceIdsFromRepackMessage(in_data):
  unused_resources = set()
  unused_pattern = re.compile(
      'RePackFromDataPackStrings Removed Key: (?P<resource_id>[0-9]+)')
  for line in in_data:
    match = unused_pattern.match(line)
    if match:
      resource_id = int(match.group('resource_id'))
      unused_resources.add(resource_id)
  return sorted(unused_resources)
def GetResourceIdsFromRepackMessage ( in_data ) : unused_resources = set ( ) unused_pattern = re . compile ( 'RePackFromDataPackStrings Removed Key: (?P<resource_id>[0-9]+)' ) for line in in_data : match = unused_pattern . match ( line ) if match : resource_id = int ( match . group ( 'resource_id' ) ) unused_resources . add ( resource_id ) return sorted ( unused_resources )
Returns sorted set of resource ids that are not used from in_data.
Returns sorted set of resource ids that are not used from in_data .
"""Returns sorted set of resource ids that are not used from in_data.
  """
in_data