X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FDistributedPythonNode.cxx;h=8e7643962167a6650a1580ad8f3fa3701ff2cda0;hb=a0acdf424abd100a06e663528d6e7c7f4d269a67;hp=40f75b1187aa4d558bc7b49776b2324e00ea6438;hpb=d211688052f32d421ebd6aecace6b17bef3a6aed;p=modules%2Fyacs.git diff --git a/src/runtime/DistributedPythonNode.cxx b/src/runtime/DistributedPythonNode.cxx index 40f75b118..8e7643962 100644 --- a/src/runtime/DistributedPythonNode.cxx +++ b/src/runtime/DistributedPythonNode.cxx @@ -113,12 +113,13 @@ void DistributedPythonNode::load() if(!_container) throw Exception("No container specified !"); SalomeContainer *containerCast0(dynamic_cast(_container)); - SalomeHPContainerBase *containerCast1(dynamic_cast(_container)); + SalomeHPContainer *containerCast1(dynamic_cast(_container)); if(containerCast0) objContainer=containerCast0->getContainerPtr(this); else if(containerCast1) { - objContainer=containerCast1->getContainerPtr(this); + YACS::BASES::AutoCppPtr tmpCont(SalomeContainerTmpForHP::BuildFrom(containerCast1,this)); + objContainer=tmpCont->getContainerPtr(this); } else throw Exception("Unrecognized type of container ! Salome one is expected !");