]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: bug 10994 correction proposal BR_3_1_0deb
authorprascle <prascle>
Tue, 20 Dec 2005 17:56:58 +0000 (17:56 +0000)
committerprascle <prascle>
Tue, 20 Dec 2005 17:56:58 +0000 (17:56 +0000)
src/LifeCycleCORBA_SWIG/libSALOME_LifeCycleCORBA.i

index eec1217f7b987b04d95ebc9d85b34d03df854d3b..75a8282a4f8cbb7d21d0fe5fdd2019efcf109125 100644 (file)
@@ -37,7 +37,7 @@
 
   PyObject* pdict = PyDict_New();
   PyDict_SetItemString(pdict, "__builtins__", PyEval_GetBuiltins());
-  PyRun_String("import CORBA", Py_single_input, pdict, pdict);
+  PyRun_String("from omniORB import CORBA", Py_single_input, pdict, pdict);
   PyRun_String("o = CORBA.ORB_init([''], CORBA.ORB_ID);", Py_single_input,
                    pdict, pdict);
   PyObject* orb = PyDict_GetItemString(pdict, "o");