Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
create_python_service_instance(): meaningful implementation in
[modules/kernel.git]
/
src
/
Container
/
SALOME_ContainerPy.py
diff --git
a/src/Container/SALOME_ContainerPy.py
b/src/Container/SALOME_ContainerPy.py
index 9d0339d199a1253f86c41507d8808f033cce27c8..d49dfd3e36780bb89a34fcd95aab6f2647e00306 100755
(executable)
--- a/
src/Container/SALOME_ContainerPy.py
+++ b/
src/Container/SALOME_ContainerPy.py
@@
-1,6
+1,6
@@
#! /usr/bin/env python
# -*- coding: iso-8859-1 -*-
#! /usr/bin/env python
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-245,7
+245,12
@@
class SALOME_ContainerPy_i (Engines__POA.Container):
i = i + 1
return anEngine._this()
i = i + 1
return anEngine._this()
-
+
+ #-------------------------------------------------------------------------
+
+ def create_python_service_instance(self, CompName):
+ return self.create_component_instance(CompName, 0)
+
#-------------------------------------------------------------------------
def remove_impl(self, component):
#-------------------------------------------------------------------------
def remove_impl(self, component):