]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CCAR: correct bug in getContainerRef (python component)
authorcaremoli <caremoli>
Sun, 20 May 2007 10:57:56 +0000 (10:57 +0000)
committercaremoli <caremoli>
Sun, 20 May 2007 10:57:56 +0000 (10:57 +0000)
src/Container/SALOME_ComponentPy.py
src/Container/SALOME_ContainerManager.cxx

index babcbb297f52e4e8ffc49564976ad1d1a218e76f..2124d6737e71e2165ebcafe86930dc08de2de011 100755 (executable)
@@ -151,8 +151,9 @@ class SALOME_ComponentPy_i (Engines__POA.Component):
 
     def GetContainerRef(self):
         MESSAGE(  "SALOME_ComponentPy_i::GetContainerRef" )
-        corbaObj_ptr = self._poa.id_to_reference(self._contId)
-        return corbaObj_ptr._narrow(Engines.Container)
+        #corbaObj_ptr = self._poa.id_to_reference(self._contId)
+        #return corbaObj_ptr._narrow(Engines.Container)
+        return self._contId._narrow(Engines.Container)
                 
     #-------------------------------------------------------------------------
 
index f5e1eb1fb83df689544e156b7740de8d39588ac5..027ca7dce323c7cfc6ff0d0d59fb2e6fb12e2855 100644 (file)
@@ -257,7 +257,7 @@ StartContainer(const Engines::MachineParameters& params,
 #endif
       count-- ;
       if ( count != 10 )
-       MESSAGE( count << ". Waiting for FactoryServer on " << theMachine);
+       MESSAGE( count << ". Waiting for container on " << theMachine);
 
       if(params.isMPI){
        containerNameInNS = "/ContainerManager/id";