diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-05-05 12:04:18 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-05-05 12:04:18 -0230 |
commit | 77beda421aa4cbe82b1bf7b7000ed456c0f16437 (patch) | |
tree | 33fab63f3196bbcebedb0dd6299c52ed68a7f7d7 /python/modules/IcePy/EndpointInfo.cpp | |
parent | fixing gradle test dependency (diff) | |
download | ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.tar.bz2 ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.tar.xz ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.zip |
ICE-6479 info test failures with scripting languages
Diffstat (limited to 'python/modules/IcePy/EndpointInfo.cpp')
-rw-r--r-- | python/modules/IcePy/EndpointInfo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/python/modules/IcePy/EndpointInfo.cpp b/python/modules/IcePy/EndpointInfo.cpp index a712cb81186..1106390b20a 100644 --- a/python/modules/IcePy/EndpointInfo.cpp +++ b/python/modules/IcePy/EndpointInfo.cpp @@ -659,7 +659,11 @@ PyObject* IcePy::createEndpointInfo(const Ice::EndpointInfoPtr& endpointInfo) { PyTypeObject* type; - if(Ice::TCPEndpointInfoPtr::dynamicCast(endpointInfo)) + if(Ice::WSEndpointInfoPtr::dynamicCast(endpointInfo)) + { + type = &WSEndpointInfoType; + } + else if(Ice::TCPEndpointInfoPtr::dynamicCast(endpointInfo)) { type = &TCPEndpointInfoType; } @@ -667,10 +671,6 @@ IcePy::createEndpointInfo(const Ice::EndpointInfoPtr& endpointInfo) { type = &UDPEndpointInfoType; } - else if(Ice::WSEndpointInfoPtr::dynamicCast(endpointInfo)) - { - type = &WSEndpointInfoType; - } else if(Ice::OpaqueEndpointInfoPtr::dynamicCast(endpointInfo)) { type = &OpaqueEndpointInfoType; |