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