From: Angus Salkeld Date: Fri, 7 Sep 2012 00:12:29 +0000 (+1000) Subject: Make sure the properties are defined in all cases. X-Git-Tag: 2014.1~1456 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ae0b853499296763dae77aa5c1e4c22225674489;p=openstack-build%2Fheat-build.git Make sure the properties are defined in all cases. fixes #194 Change-Id: I994283734d551f81143e7f5de50da0180a277119 Signed-off-by: Angus Salkeld --- diff --git a/heat/engine/parser.py b/heat/engine/parser.py index b3142d6a..30ba7b55 100644 --- a/heat/engine/parser.py +++ b/heat/engine/parser.py @@ -293,6 +293,9 @@ class Stack(object): stack = cls(context, s.name, template, params, stack_id, s.status, s.status_reason, s.timeout) + for res in stack: + res.calculate_properties() + return stack def store(self, owner=None):