From cd9f4e3f645e3d8dd8be4c5a2679422c6c8da579 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Fri, 22 Jun 2018 12:21:41 -0700 Subject: [PATCH] build_matrix: ignore hidden files Signed-off-by: Patrick Donnelly --- teuthology/suite/build_matrix.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/suite/build_matrix.py b/teuthology/suite/build_matrix.py index e9692a8667..165711c1cd 100644 --- a/teuthology/suite/build_matrix.py +++ b/teuthology/suite/build_matrix.py @@ -78,6 +78,8 @@ def _get_matrix(path, subset=None): def _build_matrix(path, mincyclicity=0, item=''): + if os.path.basename(path)[0] == '.': + return None if not os.path.exists(path): raise IOError('%s does not exist (abs %s)' % (path, os.path.abspath(path))) if os.path.isfile(path): -- 2.39.5