From 62a9307bb1e1e6dccb2642a59b97de536be6e410 Mon Sep 17 00:00:00 2001 From: prascle Date: Tue, 20 Dec 2005 17:56:58 +0000 Subject: [PATCH] PR: bug 10994 correction proposal --- src/LifeCycleCORBA_SWIG/libSALOME_LifeCycleCORBA.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LifeCycleCORBA_SWIG/libSALOME_LifeCycleCORBA.i b/src/LifeCycleCORBA_SWIG/libSALOME_LifeCycleCORBA.i index eec1217f7..75a8282a4 100644 --- a/src/LifeCycleCORBA_SWIG/libSALOME_LifeCycleCORBA.i +++ b/src/LifeCycleCORBA_SWIG/libSALOME_LifeCycleCORBA.i @@ -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"); -- 2.39.2