fix for custom services not setting service.configs when reading xml
This commit is contained in:
parent
3e87737ee6
commit
c1a0f4e83d
1 changed files with 3 additions and 0 deletions
|
@ -664,10 +664,13 @@ class CoreXmlReader:
|
||||||
|
|
||||||
file_elements = service_configuration.find("files")
|
file_elements = service_configuration.find("files")
|
||||||
if file_elements is not None:
|
if file_elements is not None:
|
||||||
|
files = []
|
||||||
for file_element in file_elements.iterchildren():
|
for file_element in file_elements.iterchildren():
|
||||||
name = file_element.get("name")
|
name = file_element.get("name")
|
||||||
data = file_element.text
|
data = file_element.text
|
||||||
service.config_data[name] = data
|
service.config_data[name] = data
|
||||||
|
files.append(name)
|
||||||
|
service.configs = tuple(files)
|
||||||
|
|
||||||
def read_emane_configs(self):
|
def read_emane_configs(self):
|
||||||
emane_configurations = self.scenario.find("emane_configurations")
|
emane_configurations = self.scenario.find("emane_configurations")
|
||||||
|
|
Loading…
Reference in a new issue