Bug 1423326: Fix typo when looking in comm-central repository for changed files; r?dustin draft
authorTom Prince <mozilla@hocat.ca>
Tue, 05 Dec 2017 12:45:18 -0700
changeset 707755 bc8af84f3b8b2997c422cbb1d813ffb7c7dc5844
parent 707754 1e21d5a5ad26b361cd0afe4c6d1b4c0eb40197d2
child 743027 b45db34eb87e655603ae63603b957c5a5129910e
push id92209
push userbmo:mozilla@hocat.ca
push dateTue, 05 Dec 2017 19:45:45 +0000
reviewersdustin
bugs1423326
milestone59.0a1
Bug 1423326: Fix typo when looking in comm-central repository for changed files; r?dustin MozReview-Commit-ID: Hh85jHbxXgH
taskcluster/taskgraph/files_changed.py
--- a/taskcluster/taskgraph/files_changed.py
+++ b/taskcluster/taskgraph/files_changed.py
@@ -52,17 +52,17 @@ def check(params, file_patterns):
     revision = params.get('head_rev')
     if not repository or not revision:
         logger.warning("Missing `head_repository` or `head_rev` parameters; "
                        "assuming all files have changed")
         return True
 
     changed_files = get_changed_files(repository, revision)
 
-    if 'comm_repository' in params:
+    if 'comm_head_repository' in params:
         repository = params.get('comm_head_repository')
         revision = params.get('comm_head_rev')
         if not revision:
             logger.warning("Missing `comm_head_rev` parameters; "
                            "assuming all files have changed")
             return True
 
         changed_files |= {