diff options
-rw-r--r-- | catalog/packages/biz/pnf_descriptor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog/packages/biz/pnf_descriptor.py b/catalog/packages/biz/pnf_descriptor.py index fe773447..78b55b0c 100644 --- a/catalog/packages/biz/pnf_descriptor.py +++ b/catalog/packages/biz/pnf_descriptor.py @@ -96,6 +96,8 @@ class PnfDescriptor(object): nsd_model = None if ns_pkg.nsdModel: nsd_model = json.JSONDecoder().decode(ns_pkg.nsdModel) + if not nsd_model: + continue pnf_info_ids = [] for pnf in nsd_model['pnfs']: pnfd_id = pnf["properties"]["id"] |