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