Skip to content
Snippets Groups Projects
Commit fa29f3c1 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Code and MR cleanup

parent 8ad90509
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -24,7 +24,7 @@ XPATH_NETWORK_INSTANCES = "//ocni:network-instances/ocni:network-instance" ...@@ -24,7 +24,7 @@ XPATH_NETWORK_INSTANCES = "//ocni:network-instances/ocni:network-instance"
def parse(xml_data : ET.Element) -> List[Tuple[str, Dict[str, Any]]]: def parse(xml_data : ET.Element) -> List[Tuple[str, Dict[str, Any]]]:
response = [] response = []
for xml_network_instance in xml_data.xpath(XPATH_NETWORK_INSTANCES, namespaces=NAMESPACES): for xml_network_instance in xml_data.xpath(XPATH_NETWORK_INSTANCES, namespaces=NAMESPACES):
LOGGER.info('xml_network_instance = {:s}'.format(str(ET.tostring(xml_network_instance)))) #LOGGER.info('xml_network_instance = {:s}'.format(str(ET.tostring(xml_network_instance))))
network_instance = {} network_instance = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment