diff --git a/heat/engine/parameters.py b/heat/engine/parameters.py index 1ddbc9039..5ed37bfa3 100644 --- a/heat/engine/parameters.py +++ b/heat/engine/parameters.py @@ -170,8 +170,6 @@ class Schema(constr.Schema): else: return super(Schema, self).__getitem__(key) - raise KeyError(key) - class Parameter(object): '''A template parameter.''' diff --git a/heat/engine/properties.py b/heat/engine/properties.py index 8c759083f..df595660b 100644 --- a/heat/engine/properties.py +++ b/heat/engine/properties.py @@ -193,8 +193,6 @@ class Schema(constr.Schema): else: return super(Schema, self).__getitem__(key) - raise KeyError(key) - def schemata(schema_dicts): """