summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Util.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-19 16:27:53 +0100
committerJose <jose@zeroc.com>2016-01-19 16:27:53 +0100
commit6faa017414ad0321fd28da58ab5d3c851ec7f1f2 (patch)
treee9e9146105ffc5c23edd72b38d02442ba1fe2bbd /python/modules/IcePy/Util.cpp
parentFix IEE-162 - multiple bluetooth test failures (diff)
downloadice-6faa017414ad0321fd28da58ab5d3c851ec7f1f2.tar.bz2
ice-6faa017414ad0321fd28da58ab5d3c851ec7f1f2.tar.xz
ice-6faa017414ad0321fd28da58ab5d3c851ec7f1f2.zip
Deprecate ice_name and add ice_id
Diffstat (limited to 'python/modules/IcePy/Util.cpp')
-rw-r--r--python/modules/IcePy/Util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/modules/IcePy/Util.cpp b/python/modules/IcePy/Util.cpp
index b86ddffd953..af3eb42b159 100644
--- a/python/modules/IcePy/Util.cpp
+++ b/python/modules/IcePy/Util.cpp
@@ -311,7 +311,7 @@ IcePy::PyException::raise()
}
else
{
- PyObjectHandle name = PyObject_CallMethod(ex.get(), STRCAST("ice_name"), 0);
+ PyObjectHandle name = PyObject_CallMethod(ex.get(), STRCAST("ice_id"), 0);
PyErr_Clear();
if(!name.get())
{
@@ -880,7 +880,7 @@ IcePy::convertException(const Ice::Exception& ex)
}
catch(const Ice::LocalException& e)
{
- type = lookupType(scopedToName(e.ice_name()));
+ type = lookupType(scopedToName(e.ice_id()));
if(type)
{
p = createExceptionInstance(type);