From 5a9619cad810e4f62a618720fdb2ed5dd0a6cc03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Ribes?= Date: Tue, 18 Jan 2011 13:57:46 +0100 Subject: [PATCH] Use AdaoSchemaCreator wit python --- src/daSalome/daGUI/daGuiImpl/adaoCase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daSalome/daGUI/daGuiImpl/adaoCase.py b/src/daSalome/daGUI/daGuiImpl/adaoCase.py index 0288567..ea665b8 100644 --- a/src/daSalome/daGUI/daGuiImpl/adaoCase.py +++ b/src/daSalome/daGUI/daGuiImpl/adaoCase.py @@ -60,7 +60,7 @@ class AdaoCase: adao_path = os.environ["ADAO_ROOT_DIR"] adao_exe = adao_path + "/bin/salome/AdaoYacsSchemaCreator.py" self.__yacs_filename = self.__filename[:self.__filename.rfind(".")] + '.xml' - args = [adao_exe, filename, self.__yacs_filename] + args = ["python", adao_exe, filename, self.__yacs_filename] p = subprocess.Popen(args) (stdoutdata, stderrdata) = p.communicate() if not os.path.exists(self.__yacs_filename): -- 2.39.2