コード例 #1
0
ファイル: reader.py プロジェクト: 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
コード例 #2
0
ファイル: reader.py プロジェクト: philloidin/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
コード例 #3
0
ファイル: reader.py プロジェクト: bbglab/wok
	def _parse_conf(self, xmle):
		return Data.from_xmle(xmle)
コード例 #4
0
ファイル: reader.py プロジェクト: philloidin/wok
 def _parse_conf(self, xmle):
     return Data.from_xmle(xmle)