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:
parent
c8c96c3b40
commit
189fcf55cb
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user