def CalculateOSNames(os_name, os_variants):
  if os_variants:
    return ["%s+%s" % (os_name, v) for v in os_variants]
  else:
    return [os_name]
Check to see if the provided description string matches an extract rule.
dataset/ETHPy150Open ganeti/ganeti/lib/cli.py/CalculateOSNames--crossover with--dataset/ETHPy150Open devttys0/binwalk/src/binwalk/modules/extractor.py/Extractor.match