diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-07-08 15:15:00 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2016-07-10 00:38:59 +0800 |
commit | 0997552722dc4845a854e0e6f8d7f18058e26380 (patch) | |
tree | b90d1e808bb326612211ba56b3b941516493398d /tosca2heat/tosca-parser/toscaparser/shell.py | |
parent | 7fe3011a67a239f7dc04153c54eaff78ef967eaf (diff) |
Synchronise the openstack bugs
When run unittests through tox, some test cases are always error,
the errors are already done in openstack community, so it's
necessary to synchronise the fixes.
Change-Id: Ib29078e6cc138a474e89c6a2cc90ad7a1db1bb46
JIRA: PARSER-63
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.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/shell.py b/tosca2heat/tosca-parser/toscaparser/shell.py index 848726f..b41c024 100644 --- a/tosca2heat/tosca-parser/toscaparser/shell.py +++ b/tosca2heat/tosca-parser/toscaparser/shell.py @@ -67,33 +67,33 @@ class ParserShell(object): version = tosca.version if tosca.version: - print ("\nversion: " + version) + print("\nversion: " + version) if hasattr(tosca, 'description'): description = tosca.description if description: - print ("\ndescription: " + description) + print("\ndescription: " + description) if hasattr(tosca, 'inputs'): inputs = tosca.inputs if inputs: - print ("\ninputs:") + print("\ninputs:") for input in inputs: - print ("\t" + input.name) + print("\t" + input.name) if hasattr(tosca, 'nodetemplates'): nodetemplates = tosca.nodetemplates if nodetemplates: - print ("\nnodetemplates:") + print("\nnodetemplates:") for node in nodetemplates: - print ("\t" + node.name) + print("\t" + node.name) if hasattr(tosca, 'outputs'): outputs = tosca.outputs if outputs: - print ("\noutputs:") + print("\noutputs:") for output in outputs: - print ("\t" + output.name) + print("\t" + output.name) def main(args=None): |