summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Properties.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2017-03-08 15:47:34 -0800
committerMark Spruiell <mes@zeroc.com>2017-03-08 15:47:34 -0800
commitfc32c2a7805365e7f40ab8a664f94efae35137da (patch)
tree9004df864027bfef52218772e88357e01d9bdf0c /python/modules/IcePy/Properties.cpp
parentRefreshed Ice::optional (diff)
downloadice-fc32c2a7805365e7f40ab8a664f94efae35137da.tar.bz2
ice-fc32c2a7805365e7f40ab8a664f94efae35137da.tar.xz
ice-fc32c2a7805365e7f40ab8a664f94efae35137da.zip
- ICE-6845 - More dispatcher fixes for Python
- Deprecated the InitializationData.threadHook member - Added threadStart and threadStop members to InitializationData - InitializationData.batchRequestInterceptor can now be a callable
Diffstat (limited to 'python/modules/IcePy/Properties.cpp')
-rw-r--r--python/modules/IcePy/Properties.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/modules/IcePy/Properties.cpp b/python/modules/IcePy/Properties.cpp
index dc6481b1a22..bbcca6b179b 100644
--- a/python/modules/IcePy/Properties.cpp
+++ b/python/modules/IcePy/Properties.cpp
@@ -83,7 +83,8 @@ propertiesInit(PropertiesObject* self, PyObject* args, PyObject* /*kwds*/)
assert(propType);
if(PyObject_IsInstance(defaultsObj, propType))
{
- PyObjectHandle impl = PyObject_GetAttrString(defaultsObj, STRCAST("_impl"));
+ PyObjectHandle impl = getAttr(defaultsObj, "_impl", false);
+ assert(impl.get());
defaults = getProperties(impl.get());
}
else if(defaultsObj != Py_None)