summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/shell.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2017-09-12 22:27:15 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2017-09-12 22:32:26 +0800
commit0ca37647fe417e078c5bd70f8452c264ace3a2d7 (patch)
treed8ed114c812c72114b018d98138276a3b5565acf /tosca2heat/tosca-parser/toscaparser/shell.py
parent96de9387460091e7cf0dc5fde1afaa637a8b2b79 (diff)
Fix substitution mapping assigned value to nodetemplate
Currently the assignment mapped template value to nodetemplate is error, and additionally debug_mode is not transfered to nested template. So the patch will fix them. JIRA: PARSER-155 Change-Id: I8c5801b00ae56b9ba2eb92a6f14357c2f5328718 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/shell.py')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/shell.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/shell.py b/tosca2heat/tosca-parser/toscaparser/shell.py
index ba9c28f..88c7473 100644
--- a/tosca2heat/tosca-parser/toscaparser/shell.py
+++ b/tosca2heat/tosca-parser/toscaparser/shell.py
@@ -91,11 +91,8 @@ class ParserShell(object):
no_required_paras_check=nrpv,
debug_mode=debug_mode)
except ValidationError as e:
- msg = _(' ===== main service template ===== ')
- log.error(msg)
log.error(e.message)
if debug_mode:
- print(msg)
print(e.message)
else:
raise e