summaryrefslogtreecommitdiff
path: root/py/test/Ice/operations/ServerAMD.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-08-11 13:02:09 +0000
committerMark Spruiell <mes@zeroc.com>2006-08-11 13:02:09 +0000
commitc078a3026caeffeb84be7ec1c81d8d13f508c7c3 (patch)
tree295cf73efda5a5aaae57cd14c586d931ec6efca3 /py/test/Ice/operations/ServerAMD.py
parent- Removed latency oneway batch with 2k and 10k tests because there is no (diff)
downloadice-c078a3026caeffeb84be7ec1c81d8d13f508c7c3.tar.bz2
ice-c078a3026caeffeb84be7ec1c81d8d13f508c7c3.tar.xz
ice-c078a3026caeffeb84be7ec1c81d8d13f508c7c3.zip
partial solution for bug 943
Diffstat (limited to 'py/test/Ice/operations/ServerAMD.py')
-rw-r--r--py/test/Ice/operations/ServerAMD.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/py/test/Ice/operations/ServerAMD.py b/py/test/Ice/operations/ServerAMD.py
index 064731d6a2c..08a753995c5 100644
--- a/py/test/Ice/operations/ServerAMD.py
+++ b/py/test/Ice/operations/ServerAMD.py
@@ -97,10 +97,11 @@ class MyDerivedClassI(Test.MyDerivedClass):
cb.ice_response(p2, p1)
def opByteS_async(self, cb, p1, p2, current=None):
- p3 = p1[0:]
+ # By default sequence<byte> maps to a string.
+ p3 = map(ord, p1)
p3.reverse()
- r = p1[0:]
- r.extend(p2)
+ r = map(ord, p1)
+ r.extend(map(ord, p2))
cb.ice_response(r, p3)
def opBoolS_async(self, cb, p1, p2, current=None):