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:
06206d5
)
Fix check logic of nsd pkg parser
14/71114/1
author
fujinhua
<fu.jinhua@zte.com.cn>
Wed, 24 Oct 2018 01:53:47 +0000
(09:53 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Wed, 24 Oct 2018 01:53:47 +0000
(09:53 +0800)
Change-Id: Ida23e296c88ef951bf8f94eadc0551c095e8ff8a
Issue-ID: VFC-1163
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
7df59ff
..
705e3aa
100644
(file)
--- a/
catalog/pub/utils/toscaparser/basemodel.py
+++ b/
catalog/pub/utils/toscaparser/basemodel.py
@@
-85,7
+85,7
@@
class BaseInfoModel(object):
inputs[key] = value
params = inputs
- if params
and len(params) > 0
:
+ if params:
tmp = self._create_tosca_template(path, None)
if isinstance(params, dict):
for key, value in params.items():