commit | 2b4890fa7c299c010ec47ae8441985fd4b530eea | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Wed Jan 07 22:47:26 2015 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Wed Jan 07 22:47:26 2015 +0000 |
tree | 780ab0146cd13b557dfc7c870e3b524d8c0eb0ef | |
parent | 2337ccc4cc13377f881632c7a34a7c9397449f78 [diff] | |
parent | a190f3ba610f81fdbafc832a37e60b9b2dc15c3e [diff] |
Merge "Add daemon test"
diff --git a/zuul/layoutvalidator.py b/zuul/layoutvalidator.py index 6969653..5a32c76 100644 --- a/zuul/layoutvalidator.py +++ b/zuul/layoutvalidator.py
@@ -193,6 +193,9 @@ return parameters def getSchema(self, data): + if not isinstance(data, dict): + raise Exception("Malformed layout configuration: top-level type " + "should be a dictionary") pipelines = data.get('pipelines') if not pipelines: pipelines = []