diff options
author | Lovett, Trevor <trevor.lovett@att.com> | 2019-09-06 15:34:12 -0500 |
---|---|---|
committer | Lovett, Trevor (tl2972) <tl2972@att.com> | 2019-09-06 15:42:13 -0500 |
commit | 1bc097aa957e560147b4d9af49d25e69a6692702 (patch) | |
tree | ebf426e45ecaa94ceaf378922731b243fd9ef1e6 /ice_validator/preload_vnfapi | |
parent | 39119b4e131155ae38f7b435fc9f3693ca924eed (diff) |
Enforce black code format via pre-commit hook
Issue-ID: VVP-203
Change-Id: If0de5b4bc1be0c9514decea1f4ff6f5ec79dc41b
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/preload_vnfapi')
-rw-r--r-- | ice_validator/preload_vnfapi/vnfapi_generator.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ice_validator/preload_vnfapi/vnfapi_generator.py b/ice_validator/preload_vnfapi/vnfapi_generator.py index dce1789..87a8408 100644 --- a/ice_validator/preload_vnfapi/vnfapi_generator.py +++ b/ice_validator/preload_vnfapi/vnfapi_generator.py @@ -89,7 +89,9 @@ class VnfApiPreloadGenerator(AbstractPreloadGenerator): self._add_parameters(preload, vnf_module) def _add_vnf_metadata(self, preload): - vnf_meta = preload["input"]["vnf-topology-information"]["vnf-topology-identifier"] + vnf_meta = preload["input"]["vnf-topology-information"][ + "vnf-topology-identifier" + ] vnf_meta["vnf-name"] = self.replace("vnf_name") vnf_meta["generic-vnf-type"] = self.replace( "vnf-type", |