diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2017-09-08 16:32:09 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2017-09-08 16:32:09 +0800 |
commit | 0e2c3b05b5d788635bba09c19487cf9fa23095ee (patch) | |
tree | 4590a71805dda4a673c07041c9bddfa38c196d54 /tosca2heat/tosca-parser/toscaparser/extensions/__init__.py | |
parent | dd361d8d9df7a69a4fc7c004db5b959440a024c2 (diff) |
Fix StatefulEntityType when entitytype is not define
Currently, if a entity type is not defined, the defs in
StatefulEntityType will be none, then the access to self.defs will raise
error, finally the parser will be crushed. this patch will enhance it.
JIRA: PARSER-153
Change-Id: I5db50102e9c63428298ce6c8ecbf38e3bd8e57f8
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/extensions/__init__.py')
0 files changed, 0 insertions, 0 deletions