diff options
author | 2017-11-22 09:08:32 +0800 | |
---|---|---|
committer | 2017-11-22 09:10:13 +0800 | |
commit | f14fae05ab3fa1d15cc39ca2c9db3d0f93134e1e (patch) | |
tree | 0806804bfed647e80ec9298007cd2b41f71e20f2 | |
parent | 8927501bee5a06a273e59b7a1a669acc625294c2 (diff) |
Fix bug for parse ns csar of vfc-nfvo-catalog
Change-Id: If023eb06c9725bcec15b585e63dce96bf389b790
Issue-ID: VFC-595
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | catalog/pub/utils/toscaparser/basemodel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/catalog/pub/utils/toscaparser/basemodel.py b/catalog/pub/utils/toscaparser/basemodel.py index fe4043c3..8d4c4550 100644 --- a/catalog/pub/utils/toscaparser/basemodel.py +++ b/catalog/pub/utils/toscaparser/basemodel.py @@ -47,6 +47,7 @@ class BaseInfoModel(object): def _validate_input_params(self, path, params): valid_params = {} + """ if params and len(params) > 0: tmp = self._create_tosca_template(path, None) for key, value in params.items(): @@ -54,7 +55,7 @@ class BaseInfoModel(object): for input_def in tmp.inputs: if (input_def.name == key): valid_params[key] = DataEntityExt.validate_datatype(input_def.type, value) - + """ return valid_params def _create_tosca_template(self, file_name, valid_params): |