summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'py/modules/IcePy/Proxy.cpp')
-rw-r--r--py/modules/IcePy/Proxy.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/py/modules/IcePy/Proxy.cpp b/py/modules/IcePy/Proxy.cpp
index 9305f0dcd11..56bd7276a9f 100644
--- a/py/modules/IcePy/Proxy.cpp
+++ b/py/modules/IcePy/Proxy.cpp
@@ -150,10 +150,7 @@ IcePy::Operation::invoke(const Ice::ObjectPrx& proxy, const Ice::CommunicatorPtr
for(vector<MarshalerPtr>::iterator p = _inParams.begin(); p != _inParams.end(); ++p, ++i)
{
PyObject* arg = PyTuple_GET_ITEM(args, i);
- if(!(*p)->marshal(arg, os, &objectMap))
- {
- return NULL;
- }
+ (*p)->marshal(arg, os, &objectMap);
}
Ice::ByteSeq params;
@@ -214,7 +211,7 @@ IcePy::Operation::invoke(const Ice::ObjectPrx& proxy, const Ice::CommunicatorPtr
ObjectMarshalerPtr om = ObjectMarshalerPtr::dynamicCast(*q);
if(om)
{
- om->unmarshalObject(communicator, is, new TupleReceiver(results.get(), i));
+ om->unmarshalObject(communicator, is, new TupleReceiver(om->info(), results.get(), i));
}
else
{
@@ -232,7 +229,7 @@ IcePy::Operation::invoke(const Ice::ObjectPrx& proxy, const Ice::CommunicatorPtr
ObjectMarshalerPtr om = ObjectMarshalerPtr::dynamicCast(_resultMarshaler);
if(om)
{
- om->unmarshalObject(communicator, is, new TupleReceiver(results.get(), 0));
+ om->unmarshalObject(communicator, is, new TupleReceiver(om->info(), results.get(), 0));
}
else
{