diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-10-31 03:24:40 -0700 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-11-22 08:04:11 +0100 |
commit | 38e16fb21a236c0622c55bf16df5de49901cd2d4 (patch) | |
tree | e75132f21b4d1f50e44d86e54b05f71855de8db3 /python/modules/IcePy/Operation.cpp | |
parent | ICE-8457 - Ruby and Python string fixes (diff) | |
download | ice-3.7.0.1-python.tar.bz2 ice-3.7.0.1-python.tar.xz ice-3.7.0.1-python.zip |
ICE-8496 - Python crash on exitv3.7.0.1-python
Diffstat (limited to 'python/modules/IcePy/Operation.cpp')
-rw-r--r-- | python/modules/IcePy/Operation.cpp | 2 |
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; } |