diff --git a/package_generator/src/package_generator/package_xml_parser.py b/package_generator/src/package_generator/package_xml_parser.py index c32784e..e928820 100644 --- a/package_generator/src/package_generator/package_xml_parser.py +++ b/package_generator/src/package_generator/package_xml_parser.py @@ -479,7 +479,7 @@ def generate_xml_from_spec(self, template_name, filename): for item in self.spec_.dico_['package_attributes']: xml_pack.set(item, '') # todo should we add the attribute template to the config? - xml_pack.set("package", template_name) + xml_pack.set("template", template_name) xml_comp = ET.SubElement(xml_pack, "comp") for item in self.spec_.dico_['component_attributes']: