summaryrefslogtreecommitdiff
path: root/python/modules
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2016-12-12 09:59:44 -0800
committerMark Spruiell <mes@zeroc.com>2016-12-12 09:59:44 -0800
commit6ea4b02af971ed038ae62c56584b95c2fe1261db (patch)
treeda5dde55a9cb61918ea5e7c25c41c1bd629c4ee6 /python/modules
parentFix warnings during PHP testing (diff)
downloadice-6ea4b02af971ed038ae62c56584b95c2fe1261db.tar.bz2
ice-6ea4b02af971ed038ae62c56584b95c2fe1261db.tar.xz
ice-6ea4b02af971ed038ae62c56584b95c2fe1261db.zip
Python code style fixes
Diffstat (limited to 'python/modules')
-rw-r--r--python/modules/IcePy/Operation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/modules/IcePy/Operation.cpp b/python/modules/IcePy/Operation.cpp
index cbcf3b6b4c8..9a6ef0e7d15 100644
--- a/python/modules/IcePy/Operation.cpp
+++ b/python/modules/IcePy/Operation.cpp
@@ -3537,13 +3537,13 @@ Upcall::dispatchImpl(PyObject* servant, const string& dispatchName, PyObject* ar
}
//
- // Get the _dispatch method. The _dispatch method will invoke the servant method and pass it the arguments.
+ // Get the _iceDispatch method. The _iceDispatch method will invoke the servant method and pass it the arguments.
//
- PyObjectHandle dispatchMethod = PyObject_GetAttrString(servant, STRCAST("_dispatch"));
+ PyObjectHandle dispatchMethod = PyObject_GetAttrString(servant, STRCAST("_iceDispatch"));
if(!dispatchMethod.get())
{
ostringstream ostr;
- ostr << "_dispatch method not found for identity " << communicator->identityToString(current.id)
+ ostr << "_iceDispatch method not found for identity " << communicator->identityToString(current.id)
<< " and operation `" << dispatchName << "'";
string str = ostr.str();
PyErr_WarnEx(PyExc_RuntimeWarning, const_cast<char*>(str.c_str()), 1);
@@ -3569,7 +3569,7 @@ Upcall::dispatchImpl(PyObject* servant, const string& dispatchName, PyObject* ar
PyTuple_SET_ITEM(dispatchArgs.get(), 2, incRef(args)); // Steals a reference.
//
- // Ignore the return value of _dispatch -- it will use the dispatch callback.
+ // Ignore the return value of _iceDispatch -- it will use the dispatch callback.
//
PyObjectHandle ignore = PyObject_Call(dispatchMethod.get(), dispatchArgs.get(), 0);