]> SALOME platform Git repositories - modules/hydrosolver.git/commitdiff
Salome HOME
debug probleme de cast entier booleen: changement de comportement sur les comparaison...
authorPaul RASCLE <paul.rascle@edf.fr>
Wed, 5 Jun 2019 09:17:22 +0000 (11:17 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Wed, 5 Jun 2019 09:17:22 +0000 (11:17 +0200)
src/HYDRO/HYDROSOLVER.py
src/HYDROGUI/HYDROSOLVERGUI.py
src/salome_hydro/param_study/eficas/appli.py
src/salome_hydro/run_study/eficas/appli.py
src/salome_hydro/telma/eficas/appli.py

index 1fe370c691f9a6b7382e7427c212ad6aa340decc..973af78b4d4a165ad8088cd2122289b8ab8551a9 100644 (file)
@@ -34,5 +34,5 @@ class HYDROSOLVER(HYDROSOLVER_ORB__POA.HYDROSOLVER,
     def __init__ ( self, orb, poa, contID, containerName, instanceName, 
                    interfaceName ):
         SALOME_ComponentPy.SALOME_ComponentPy_i.__init__(self, orb, poa,
-                    contID, containerName, instanceName, interfaceName, 0)
+                    contID, containerName, instanceName, interfaceName)
         SALOME_DriverPy.SALOME_DriverPy_i.__init__(self, interfaceName)
index db1f814b63855ceaca15890c956d8cd5e39bea5d..6521a77f5a83867720d4a521de3bf1f2534ed961 100755 (executable)
@@ -379,7 +379,7 @@ def generate_param_study_python():
             sobj = get_and_check_selected_file_path()
             ed.generate_study_script(sobj)
     except SALOME.SALOME_Exception as exc:
-        salome.sg.updateObjBrowser(0)
+        salome.sg.updateObjBrowser()
         msg = str(QApplication.translate("generate_telemac2d_python",
                       "An error happened while trying to generate telemac2d Python script:"))
         msg += "\n" + exc.details.text
@@ -395,7 +395,7 @@ def generate_param_study_yacs():
             sobj = get_and_check_selected_file_path()
             ed.generate_study_yacs(sobj)
     except SALOME.SALOME_Exception as exc:
-        salome.sg.updateObjBrowser(0)
+        salome.sg.updateObjBrowser()
         msg = str(QApplication.translate("generate_telemac2d_yacs",
                       "An error happened while trying to generate telemac2d Python script:"))
         msg += "\n" + exc.details.text
index 9a5d017d408aa9f5de1c732af9cf4a36a6af2c5b..71cca8548d949e5ebee6fed96996a001e98909b5 100644 (file)
@@ -88,7 +88,7 @@ class EficasForParamStudyAppli(eficasSalome.MyEficas):
             QMessageBox.warning(self, self.tr("Warning"),
                                 self.tr("%s. Reason:\n%s\n\nSee logs for "
                                         "more details." % (msgError, exc)))
-        salome.sg.updateObjBrowser(0)
+        salome.sg.updateObjBrowser()
 
     def closeEvent(self, event):
         while self.codedir in sys.path:
index 2446044a16ef55844b5b12b2c0d7e46fd3208abb..7db8971e80aae9d3f792025716055843da0fd9d1 100755 (executable)
@@ -70,7 +70,7 @@ class EficasForRunStudyAppli(eficasSalome.MyEficas):
             logger.exception(msgError)
             QMessageBox.warning(self, self.tr("Warning"),
                                 self.tr("%s. Reason:\n%s\n\nSee logs for more details." % (msgError, exc)))
-        salome.sg.updateObjBrowser(0)
+        salome.sg.updateObjBrowser()
 
     def closeEvent(self, event):
         while self.codedir in sys.path:
index ca24c63bbf557e9f8676ecd2377fb225015ddc58..31fe3f8e706928a457816b23d77863e3551235c1 100755 (executable)
@@ -87,7 +87,7 @@ class EficasForTelmaAppli(eficasSalome.MyEficas):
             QMessageBox.warning(self, self.tr("Warning"),
                                 self.tr("%s. Reason:\n%s\n\nSee logs for "
                                         "more details." % (msgError, exc)))
-        salome.sg.updateObjBrowser(0)
+        salome.sg.updateObjBrowser()
 
     def closeEvent(self, event):
         while self.codedir in sys.path: