tools/metrics/histograms/suffixes_to_variants.py
def ChooseFiles(args):
  """Chooses a set of files to process so that we can migrate incrementally."""
  paths = []
  for path in sorted(histogram_paths.HISTOGRAMS_XMLS):
    if 'metadata' in path and path.endswith('histograms.xml'):
      name = os.path.basename(os.path.dirname(path))
      if args.start <= name[0] <= args.end:
        paths.append(path)

  if args.obsolete:
    paths.append(histogram_paths.OBSOLETE_XML)
  return paths
Chooses a set of files to process so that we can migrate incrementally.
Chooses a set of files to process so that we can migrate incrementally.
Chooses a set of files to process so that we can migrate incrementally .
def ChooseFiles(args):
  paths = []
  for path in sorted(histogram_paths.HISTOGRAMS_XMLS):
    if 'metadata' in path and path.endswith('histograms.xml'):
      name = os.path.basename(os.path.dirname(path))
      if args.start <= name[0] <= args.end:
        paths.append(path)
  if args.obsolete:
    paths.append(histogram_paths.OBSOLETE_XML)
  return paths
def ChooseFiles ( args ) : paths = [ ] for path in sorted ( histogram_paths . HISTOGRAMS_XMLS ) : if 'metadata' in path and path . endswith ( 'histograms.xml' ) : name = os . path . basename ( os . path . dirname ( path ) ) if args . start <= name [ 0 ] <= args . end : paths . append ( path ) if args . obsolete : paths . append ( histogram_paths . OBSOLETE_XML ) return paths
Chooses a set of files to process so that we can migrate incrementally.
Chooses a set of files to process so that we can migrate incrementally .
"""Chooses a set of files to process so that we can migrate incrementally."""
args