summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Communicator.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-10-24 18:30:34 +0000
committerBernard Normier <bernard@zeroc.com>2006-10-24 18:30:34 +0000
commit60b4049c76c3833aebcfa735c0f4bb411f30bc18 (patch)
tree14ba106c39b80ff2e34021268e430cee34f72bbc /py/modules/IcePy/Communicator.cpp
parentfixing full dist (diff)
downloadice-60b4049c76c3833aebcfa735c0f4bb411f30bc18.tar.bz2
ice-60b4049c76c3833aebcfa735c0f4bb411f30bc18.tar.xz
ice-60b4049c76c3833aebcfa735c0f4bb411f30bc18.zip
Fixed build
Diffstat (limited to 'py/modules/IcePy/Communicator.cpp')
-rw-r--r--py/modules/IcePy/Communicator.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/py/modules/IcePy/Communicator.cpp b/py/modules/IcePy/Communicator.cpp
index 7fc4ae7c04c..2871800a2a3 100644
--- a/py/modules/IcePy/Communicator.cpp
+++ b/py/modules/IcePy/Communicator.cpp
@@ -106,7 +106,6 @@ communicatorInit(CommunicatorObject* self, PyObject* args, PyObject* /*kwds*/)
{
PyObjectHandle properties = PyObject_GetAttrString(initData, STRCAST("properties"));
PyObjectHandle logger = PyObject_GetAttrString(initData, STRCAST("logger"));
- PyObjectHandle defaultContext = PyObject_GetAttrString(initData, STRCAST("defaultContext"));
PyObjectHandle threadHook = PyObject_GetAttrString(initData, STRCAST("threadHook"));
if(properties.get() && properties.get() != Py_None)
@@ -124,14 +123,6 @@ communicatorInit(CommunicatorObject* self, PyObject* args, PyObject* /*kwds*/)
data.logger = new LoggerWrapper(logger.get());
}
- if(defaultContext.get() && defaultContext.get() != Py_None)
- {
- if(!dictionaryToContext(defaultContext.get(), data.defaultContext))
- {
- return -1;
- }
- }
-
if(threadHook.get() && threadHook.get() != Py_None)
{
data.threadHook = new ThreadNotificationWrapper(threadHook.get());