def pick_dump_format(fmts):
    'Choose a supported wave dumping format\n\n    fmts is a list of formats that the chosen tool supports. Return the first\n    that we think is possible (e.g. not fsdb if Verdi is not installed).\n\n    '
    assert fmts
    fmt = fmts[0]
    if ((fmt == 'fsdb') and (not shutil.which('verdi'))):
        return pick_dump_format(fmts[1:])
    return fmt
Choose a supported wave dumping format

fmts is a list of formats that the chosen tool supports. Return the first
that we think is possible (e.g. not fsdb if Verdi is not installed).
def pick_dump_format(fmts):
    'Choose a supported wave dumping format\n\n    fmts is a list of formats that the chosen tool supports. Return the first\n    that we think is possible (e.g. not fsdb if Verdi is not installed).\n\n    '
    assert fmts
    fmt = fmts[0]
    if ((fmt == 'fsdb') and (not shutil.which('verdi'))):
        return pick_dump_format(fmts[1:])
    return fmt