]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
0023366: [CEA 1972] Porting Salome to GCC 6
authorvsr <vsr@opencascade.com>
Mon, 24 Oct 2016 08:01:18 +0000 (11:01 +0300)
committervsr <vsr@opencascade.com>
Mon, 24 Oct 2016 08:01:18 +0000 (11:01 +0300)
src/DSC/DSC_Python/dsccalcium.py
src/TestContainer/SALOME_TestComponentPy.py

index 5efb788565c7e41e5260790f2e8e341980c9bd86..e825bae3a9a3c495e1995f6aab842c0974a798f2 100644 (file)
@@ -42,7 +42,7 @@ class PyDSCComponent(SALOME_ComponentPy.SALOME_ComponentPy_i,
   """
   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, False)
     SALOME_DriverPy.SALOME_DriverPy_i.__init__(self, interfaceName)
     # create the DSC proxy
     self.proxy=calcium.PySupervCompo(orb,poa,contID,instanceName,interfaceName )
index 518f136fe75892ebe500a57fc4ea6cdab8aa2985..6025fbcec29f84ee95c5a00509c8804c7543cf98 100755 (executable)
@@ -42,7 +42,7 @@ class SALOME_TestComponentPy( Engines__POA.TestComponent, SALOME_ComponentPy_i):
         return result
     
     def __init__(self, orb, poa, contID, containerName, instanceName, interfaceName):
-        notif = 0
+        notif = False
         SALOME_ComponentPy_i.__init__(self, orb, poa, contID, containerName,
                                       instanceName, interfaceName, notif)
         print "SALOME_TestComponentPy::__init__"