From: Patrick Donnelly Date: Fri, 22 Jun 2018 19:21:41 +0000 (-0700) Subject: build_matrix: ignore hidden files X-Git-Tag: 1.1.0~335^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cd9f4e3f645e3d8dd8be4c5a2679422c6c8da579;p=teuthology.git build_matrix: ignore hidden files Signed-off-by: Patrick Donnelly --- 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):