]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/tests/Test/tutorial_3.py
Salome HOME
Deleted Study parameter
[modules/homard.git] / src / tests / Test / tutorial_3.py
index d7b3b523635d4c4c7fbbb6a83f5108dc570a21f8..337dd83d5504bc57797ee7b193f082f84d48fc2c 100755 (executable)
@@ -69,7 +69,7 @@ IPAR.append("AP_MODULES_LIST", "Homard")
 #
 #========================================================================
 #========================================================================
-def homard_exec(theStudy):
+def homard_exec():
   """
 Python script for HOMARD
   """
@@ -160,7 +160,7 @@ HOMARD.SetLanguageShort("fr")
 # Exec of HOMARD-SALOME
 #
 try :
-  ERROR = homard_exec(salome.myStudy)
+  ERROR = homard_exec()
   if ERROR :
     raise Exception('Pb in homard_exec at iteration %d' %ERROR )
 except Exception, eee:
@@ -177,6 +177,6 @@ gzip_gunzip(DATA_TUTORIAL, 3, 1)
 # ==================================
 #
 if salome.sg.hasDesktop():
-  salome.sg.updateObjBrowser(True)
+  salome.sg.updateObjBrowser()
   iparameters.getSession().restoreVisualState(1)