]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
create_python_service_instance(): meaningful implementation in
authorabn <adrien.bruneton@cea.fr>
Fri, 24 Jul 2015 11:48:03 +0000 (13:48 +0200)
committerabn <adrien.bruneton@cea.fr>
Fri, 24 Jul 2015 11:48:03 +0000 (13:48 +0200)
Python container.

src/Container/SALOME_ContainerPy.py

index a6fdfffd0247b984ee3398b71a9502e646513924..d49dfd3e36780bb89a34fcd95aab6f2647e00306 100755 (executable)
@@ -248,10 +248,9 @@ class SALOME_ContainerPy_i (Engines__POA.Container):
 
     #-------------------------------------------------------------------------
 
-    def create_python_service_instance(self, CompName)
-        # not implemented
-        return "", ""
-
+    def create_python_service_instance(self, CompName):
+        return self.create_component_instance(CompName, 0)
+      
     #-------------------------------------------------------------------------
 
     def remove_impl(self, component):