]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Python containers are no more supported
authorvsr <vsr@opencascade.com>
Wed, 4 Dec 2013 08:04:46 +0000 (08:04 +0000)
committervsr <vsr@opencascade.com>
Wed, 4 Dec 2013 08:04:46 +0000 (08:04 +0000)
src/SALOMEDS/SALOMEDS_SimanStudy_i.cxx

index 22236afbe2d481b6f06af095cfe92f3155a2be64..1a9382933c27da63a674b4b2748a566efd9e9842 100644 (file)
@@ -114,8 +114,6 @@ void SALOMEDS_SimanStudy_i::CheckOut(SALOMEDS::Study_ptr theTarget)
       SimanIO_Configuration::ActivitiesIterator actIter(*_checkedOut);
       for(; actIter.More(); actIter.Next()) {
         Engines::EngineComponent_var aComp =
-          SALOME_LifeCycleCORBA(_name_service).FindOrLoad_Component("FactoryServerPy", actIter.Activity().Module());
-        if (CORBA::is_nil(aComp)) // it is not python container, try to find in C++ container
           SALOME_LifeCycleCORBA(_name_service).FindOrLoad_Component("FactoryServer", actIter.Activity().Module());
         if (CORBA::is_nil(aComp)) {
           MESSAGE("Checkout: component "<<actIter.Activity().Module()<<" is nil");
@@ -179,8 +177,6 @@ void SALOMEDS_SimanStudy_i::CheckIn(const char* theModuleName)
           continue;
         }
         Engines::EngineComponent_var aComp =
-          SALOME_LifeCycleCORBA(_name_service).FindOrLoad_Component("FactoryServerPy", actIter.Activity().Module());
-        if (CORBA::is_nil(aComp)) // it is not python container, try to find in C++ container
           SALOME_LifeCycleCORBA(_name_service).FindOrLoad_Component("FactoryServer", actIter.Activity().Module());
         if (CORBA::is_nil(aComp)) {
           MESSAGE("Checkin: component "<<actIter.Activity().Module()<<" is nil");