mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 1411796 - [taskgraph] Skip parameters.rst doc verification if parameters.strict is False, r=dustin
This is needed to prevent parameter mismatch errors when using |mach try fuzzy| from an older revision. This can happen if the parameters.yml is being downloaded from a commit with a recently added parameter. MozReview-Commit-ID: 4NxCM7i8B4W --HG-- extra : rebase_source : 4d2052aae33292fbd7928a79bfedba76426206b9
This commit is contained in:
parent
bf4ff12d81
commit
c91c991524
@ -291,6 +291,9 @@ class TaskGraphGenerator(object):
|
||||
return self._run_results[name]
|
||||
|
||||
def verify_parameters(self, parameters):
|
||||
if not parameters.strict:
|
||||
return
|
||||
|
||||
parameters_dict = dict(**parameters)
|
||||
verify_docs(
|
||||
filename="parameters.rst",
|
||||
|
Loading…
x
Reference in New Issue
Block a user