From: beierl Date: Fri, 29 Nov 2019 19:03:21 +0000 (-0500) Subject: Fixing Python3 X-Git-Tag: v7.0.0rc1~18 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F72%2F8272%2F2;p=osm%2Fdevops.git Fixing Python3 Syntax was still python2 only. Change-Id: Ie378662686ddf49c0a31cd46ea0e660cc00c7604 Signed-off-by: beierl --- diff --git a/tools/OVF_converter/converter.py b/tools/OVF_converter/converter.py index 5f31ed36..8c689477 100644 --- a/tools/OVF_converter/converter.py +++ b/tools/OVF_converter/converter.py @@ -464,7 +464,7 @@ class OVFConverter(object): disk_controller_info = self.__read_yaml_file(DISK_CONTROLLER_INFO_FILE_PATH) try: if self.disk_controller and disk_controller_info: - for key, value in disk_controller_info.iteritems(): + for key, value in disk_controller_info.items(): if self.disk_controller.lower() in key.lower(): disk_controller['controllerName'] = key disk_controller['resourceType'] = str(value["ResourceType"]) diff --git a/tools/OVF_converter/ovf_template/template.xml b/tools/OVF_converter/ovf_template/template.xml index a963582f..6382cefe 100644 --- a/tools/OVF_converter/ovf_template/template.xml +++ b/tools/OVF_converter/ovf_template/template.xml @@ -1,3 +1,4 @@ + - @@ -30,9 +30,9 @@ List of logical networks used in the package - + - + A virtual machine Virtual machine name