Commit f65ff825 authored by Alain Takoudjou's avatar Alain Takoudjou

Update Slaprunner unittest

parent c3ad77a6
This diff is collapsed.
......@@ -13,7 +13,7 @@ import os
import subprocess
import time
import urllib
import xml.dom
from xml.dom import minidom
import xml_marshaller
from flask import jsonify
......@@ -804,8 +804,8 @@ def readParameters(path):
a dictionnary of instance parameters."""
if os.path.exists(path):
try:
xmldoc = xml.dom.minidom.parse(path)
obj = {}
xmldoc = minidom.parse(path)
object = {}
for elt in xmldoc.childNodes:
sub_obj = {}
for subnode in elt.childNodes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment