The ceph/qa directory has a bunch of .qa symlinks under it that cause
teuthology-describe-tests to hit symlink loops. Just skip any dentry
with a name that starts with '.'.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
has_yamls = any([x.endswith('.yaml') for x in files])
facet = os.path.basename(cur_dir) if has_yamls else ''
for i, f in enumerate(files):
+ # skip any hidden files
+ if f.startswith('.'):
+ continue
path = os.path.join(cur_dir, f)
if i == len(files) - 1:
file_pad = '└── '