From 32e7b4992cbc158becbca5a3a7af684b0cc51dce Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Thu, 24 Sep 2015 14:58:23 +0000 Subject: Strip off directory part It's run form the current dir later anyway --- firehose_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firehose_config.py b/firehose_config.py index 398b00a..30de375 100644 --- a/firehose_config.py +++ b/firehose_config.py @@ -8,7 +8,7 @@ LANDING_DIRS = ("examples", "genivi") def get_landings(firehose_dir): for landing_dir in LANDING_DIRS: - yield glob(join(firehose_dir, landing_dir, '*.yaml')) + yield glob(join(firehose_dir, landing_dir, '*.yaml')).lstrip(landing_dir) __all__ = ['get_landings'] -- cgit v1.2.1