From 189fcf55cb3591ae4767eddf1c501ed59f257602 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 22 Feb 2018 14:56:30 +0100 Subject: [PATCH] Fix typo in tools/check_valid_gerrit_projects.py Check for both zuul.yaml and .zuul.yaml. Change-Id: I947e1a9602695efc17cabedb6209fe54129f0219 --- tools/check_valid_gerrit_projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_valid_gerrit_projects.py b/tools/check_valid_gerrit_projects.py index c2c4870470..071ce16c9f 100755 --- a/tools/check_valid_gerrit_projects.py +++ b/tools/check_valid_gerrit_projects.py @@ -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))