aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/csar_parser.py
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-05 11:41:08 +0100
committerMarco Platania <platania@research.att.com>2020-03-05 15:26:48 +0000
commit4be94a653e2bff518682f10fce2b5e2b9eeb7ed6 (patch)
treebfbc245f1a30e1655df5952278b1e921a0fdd17d /test/vcpe/csar_parser.py
parent3d3d3c28d88d1f7bad2b9a274fe9ad4cfaf01554 (diff)
Supress pylint warnings for undefined variables
'cmp', 'file' and 'unicode' functions are Python 2 specific. Change-Id: I30fa091ef157453a328ab40e4186c30e5ed1b3a1 Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/vcpe/csar_parser.py')
-rwxr-xr-xtest/vcpe/csar_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vcpe/csar_parser.py b/test/vcpe/csar_parser.py
index 7046070e5..da6fa437a 100755
--- a/test/vcpe/csar_parser.py
+++ b/test/vcpe/csar_parser.py
@@ -199,7 +199,7 @@ class CsarParser:
self.vnf_models = [] # this version only support a single VNF in the service template
self.vfmodule_models = [] # this version only support a single VF module in the service template
- svc_template = yaml.load(file(filename, 'r'))
+ svc_template = yaml.load(file(filename, 'r')) # pylint: disable=E0602
self.get_service_model_info(svc_template)
self.get_vnf_and_network_model_info(svc_template)
self.get_vfmodule_model_info(svc_template)