diff options
Diffstat (limited to 'firehose_config.py')
-rw-r--r-- | firehose_config.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/firehose_config.py b/firehose_config.py new file mode 100644 index 0000000..6acb639 --- /dev/null +++ b/firehose_config.py @@ -0,0 +1,14 @@ + +from glob import glob +from os.path import join + + +LANDING_DIRS = ("examples", "genivi") + + +def get_landings(firehose_dir): + for landing_dir in LANDING_DIRS: + yield glob(join(direhose_dir, landing_dir, '*.yaml')) + + +__all__ = ['get_landings'] |