Пример #1
0
	def _parse_exec(self, xmle):
		execution = Exec()
		
		if "launcher" in xmle.attrib:
			execution.mode = xmle.attrib["launcher"].lower()
			if execution.mode == "python":
				execution.mode = "native"

		execution.conf = DataFactory.from_xmle(xmle)

		return execution
Пример #2
0
	def _parse_conf(self, xmle):
		return DataFactory.from_xmle(xmle)