summaryrefslogtreecommitdiff
path: root/firehose_config.py
blob: c621fcbba5c31ba27c8d73d22c65206f816d31c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

from os import listdir
from os.path import join


LANDING_DIRS = ("examples", "genivi", "armv8")


def get_landings(firehose_dir):
    for landing_dir in LANDING_DIRS:
        yield sorted(join(landing_dir, fname)
                     for fname in listdir(join(firehose_dir, landing_dir))
                     if fname.endswith('.yaml'))


__all__ = ['get_landings']