summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Operation.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2017-10-31 03:24:40 -0700
committerMark Spruiell <mes@zeroc.com>2017-10-31 03:24:40 -0700
commit9840ca7bf91c9d2bd6e54787f7d54e826c648261 (patch)
tree7021fa8bff08bfadd812a5f8185c2293a468fd3f /python/modules/IcePy/Operation.cpp
parentMove SessionHelper communicator initialization to a separate thread ICE-8504 (diff)
downloadice-9840ca7bf91c9d2bd6e54787f7d54e826c648261.tar.bz2
ice-9840ca7bf91c9d2bd6e54787f7d54e826c648261.tar.xz
ice-9840ca7bf91c9d2bd6e54787f7d54e826c648261.zip
ICE-8496 - Python crash on exit
Diffstat (limited to 'python/modules/IcePy/Operation.cpp')
-rw-r--r--python/modules/IcePy/Operation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/modules/IcePy/Operation.cpp b/python/modules/IcePy/Operation.cpp
index 169f554766a..bbbbff6399f 100644
--- a/python/modules/IcePy/Operation.cpp
+++ b/python/modules/IcePy/Operation.cpp
@@ -2185,7 +2185,7 @@ IcePy::Invocation::validateException(const OperationPtr& op, PyObject* ex) const
{
for(ExceptionInfoList::const_iterator p = op->exceptions.begin(); p != op->exceptions.end(); ++p)
{
- if(PyObject_IsInstance(ex, (*p)->pythonType.get()))
+ if(PyObject_IsInstance(ex, (*p)->pythonType))
{
return true;
}