if section != GLOBAL:
sections[section] = dict(sections[section])
sections[section].update(global_metadata)
del sections[section]["__name__"]
return dict(sections)
def FioParametersToJob(fio_parameters):
After Change
if section != GLOBAL:
metadata = {}
metadata.update(dict(config.items(section)))
metadata.update(global_metadata)
if JOB_STONEWALL_PARAMETER in metadata:
del metadata[JOB_STONEWALL_PARAMETER]
section_metadata[section] = metadata
return section_metadata