Code Review
/
vfc
/
nfvo
/
catalog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
2a138a6
)
Change '{}' to '' when parse properity
69/20769/1
author
fujinhua
<fu.jinhua@zte.com.cn>
Thu, 26 Oct 2017 10:41:49 +0000
(18:41 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Thu, 26 Oct 2017 10:41:49 +0000
(18:41 +0800)
Change-Id: I98b4ffbd91c8f114fa74f59bce151269c6effe97
Issue-Id: VFC-558
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
catalog/pub/utils/toscaparser/basemodel.py
patch
|
blob
|
history
diff --git
a/catalog/pub/utils/toscaparser/basemodel.py
b/catalog/pub/utils/toscaparser/basemodel.py
index
83d17ee
..
177551d
100644
(file)
--- a/
catalog/pub/utils/toscaparser/basemodel.py
+++ b/
catalog/pub/utils/toscaparser/basemodel.py
@@
-278,6
+278,8
@@
class BaseInfoModel(object):
return rets
def _verify_value(self, value, inputs, parsed_params):
+ if value == '{}':
+ return ''
if isinstance(value, str):
return self._verify_string(inputs, parsed_params, value)
if isinstance(value, list) or isinstance(value, dict):