Code Review
/
parser.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Add deployment scripts for vRNC"
[parser.git]
/
tosca2heat
/
heat-translator
/
translator
/
hot
/
syntax
/
hot_output.py
diff --git
a/tosca2heat/heat-translator/translator/hot/syntax/hot_output.py
b/tosca2heat/heat-translator/translator/hot/syntax/hot_output.py
index
ad77fb3
..
a41208a
100644
(file)
--- a/
tosca2heat/heat-translator/translator/hot/syntax/hot_output.py
+++ b/
tosca2heat/heat-translator/translator/hot/syntax/hot_output.py
@@
-21,5
+21,8
@@
class HotOutput(object):
self.description = description
def get_dict_output(self):
self.description = description
def get_dict_output(self):
- return {self.name: {'value': self.value,
- 'description': self.description}}
+ if self.description:
+ return {self.name: {'value': self.value,
+ 'description': self.description}}
+ else:
+ return {self.name: {'value': self.value}}