Fix typo in tools/check_valid_gerrit_projects.py

Check for both zuul.yaml and .zuul.yaml.

Change-Id: I947e1a9602695efc17cabedb6209fe54129f0219
This commit is contained in:
Andreas Jaeger 2018-02-22 14:56:30 +01:00
parent c8c96c3b40
commit 189fcf55cb
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def check_repo(repo_path):
continue
repo.git.checkout(branch)
head = repo.head.commit.tree
for z in ['zuul.yaml', 'zuul.yaml', 'zuul.d', '.zuul.d']:
for z in ['zuul.yaml', '.zuul.yaml', 'zuul.d', '.zuul.d']:
if z in head:
found_errors += 1
print(" ERROR: Found %s on branch %s" % (z, branch))