Ejemplo n.º 1
0
Archivo: reader.py Proyecto: 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
Ejemplo 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
Ejemplo n.º 3
0
Archivo: reader.py Proyecto: bbglab/wok
	def _parse_conf(self, xmle):
		return Data.from_xmle(xmle)
Ejemplo n.º 4
0
 def _parse_conf(self, xmle):
     return Data.from_xmle(xmle)