Exemplo n.º 1
0
Arquivo: reader.py Projeto: bbglab/wok
	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 = Data.from_xmle(xmle)

		return execution
Exemplo n.º 2
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 = Data.from_xmle(xmle)

        return execution
Exemplo n.º 3
0
Arquivo: reader.py Projeto: bbglab/wok
	def _parse_conf(self, xmle):
		return Data.from_xmle(xmle)
Exemplo n.º 4
0
 def _parse_conf(self, xmle):
     return Data.from_xmle(xmle)