From: tierno Date: Fri, 26 Oct 2018 12:54:26 +0000 (+0200) Subject: fix minor error X-Git-Tag: v5.0.0~3^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=40047485047c68ae78cdc780a91728de323f18c3;p=osm%2FN2VC.git fix minor error Change-Id: Id1e90d7e45a78c45d6c1e2720f3688a79d43941d Signed-off-by: tierno --- diff --git a/n2vc/vnf.py b/n2vc/vnf.py index a60f36c..e03cca9 100644 --- a/n2vc/vnf.py +++ b/n2vc/vnf.py @@ -893,11 +893,11 @@ class N2VC: params = {} for parameter in parameters: param = str(parameter['name']) + value = None # Typecast parameter value, if present if 'data-type' in parameter: paramtype = str(parameter['data-type']).lower() - value = None if paramtype == "integer": value = int(parameter['value'])