From 040e0718bcfac3cd01cf4ccae82bef2c0d01087b Mon Sep 17 00:00:00 2001 From: shangxdy Date: Mon, 17 Jul 2017 16:29:36 +0800 Subject: synchronize upstream about tosca-parser synchronize tosca-parser with version of 0.81 JIRA: PARSER-128 Change-Id: Ib00e391bd6c1f4c69776796eb7b28062f14b92fc Signed-off-by: shangxdy --- tosca2heat/tosca-parser/toscaparser/elements/policytype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tosca2heat/tosca-parser/toscaparser/elements/policytype.py') diff --git a/tosca2heat/tosca-parser/toscaparser/elements/policytype.py b/tosca2heat/tosca-parser/toscaparser/elements/policytype.py index a922d26..82aed0a 100644 --- a/tosca2heat/tosca-parser/toscaparser/elements/policytype.py +++ b/tosca2heat/tosca-parser/toscaparser/elements/policytype.py @@ -113,7 +113,7 @@ class PolicyType(StatefulEntityType): for entry_schema, entry_schema_type in meta_data.items(): if isinstance(entry_schema_type, dict) and not \ - entry_schema_type.get('type') == 'string': + entry_schema_type.get('type') == 'string': ExceptionCollector.appendException( InvalidTypeError(what='"%s" defined in policy for ' 'metadata "%s"' -- cgit 1.2.3-korg