]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/tests/Test/tutorial_4.py
Salome HOME
Deleted Study parameter
[modules/homard.git] / src / tests / Test / tutorial_4.py
index be7ebcfa94a97cc5433e71dd318217ee5350e1f6..12cddf95aca252f89c5f9d5f54f90da5830e1168 100755 (executable)
@@ -69,7 +69,7 @@ IPAR.append("AP_MODULES_LIST", "Homard")
 #
 #========================================================================
 #========================================================================
-def homard_exec(theStudy):
+def homard_exec():
   """
 Python script for HOMARD
   """
@@ -147,7 +147,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:
@@ -164,6 +164,6 @@ gzip_gunzip(DATA_TUTORIAL, 4, 1)
 # ==================================
 #
 if salome.sg.hasDesktop():
-  salome.sg.updateObjBrowser(True)
+  salome.sg.updateObjBrowser()
   iparameters.getSession().restoreVisualState(1)