diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-03-08 15:47:34 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-03-08 15:47:34 -0800 |
commit | fc32c2a7805365e7f40ab8a664f94efae35137da (patch) | |
tree | 9004df864027bfef52218772e88357e01d9bdf0c /python/modules/IcePy/Current.cpp | |
parent | Refreshed Ice::optional (diff) | |
download | ice-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/Current.cpp')
-rw-r--r-- | python/modules/IcePy/Current.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/modules/IcePy/Current.cpp b/python/modules/IcePy/Current.cpp index 70cbed0b509..c64c388daf5 100644 --- a/python/modules/IcePy/Current.cpp +++ b/python/modules/IcePy/Current.cpp @@ -193,7 +193,7 @@ currentGetter(CurrentObject* self, void* closure) enumerator = "Idempotent"; break; } - self->mode = PyObject_GetAttrString(type, STRCAST(enumerator)); + self->mode = getAttr(type, enumerator, false); assert(self->mode); } Py_INCREF(self->mode); |