diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-12 13:50:05 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-12 13:50:05 +0000 |
commit | 892bc25c813ced27f04bd872423109f0bd868b6f (patch) | |
tree | cda7ba37c46f0ba676f62c60975c30ef40fd7fa5 /py/test/Ice/operations/Server.py | |
parent | Fix bug 973 (diff) | |
download | ice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.bz2 ice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.xz ice-892bc25c813ced27f04bd872423109f0bd868b6f.zip |
Removed/fixed use of stringToIdentity. Fixed bug 973
Diffstat (limited to 'py/test/Ice/operations/Server.py')
-rw-r--r-- | py/test/Ice/operations/Server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/test/Ice/operations/Server.py b/py/test/Ice/operations/Server.py index 721f7b7ae93..d3dc430be7f 100644 --- a/py/test/Ice/operations/Server.py +++ b/py/test/Ice/operations/Server.py @@ -38,9 +38,9 @@ import Test, TestI def run(args, communicator): communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000:udp") adapter = communicator.createObjectAdapter("TestAdapter") - id = Ice.stringToIdentity("test") + id = communicator.stringToIdentity("test") adapter.add(TestI.MyDerivedClassI(adapter, id), id) - adapter.add(TestI.TestCheckedCastI(), Ice.stringToIdentity("context")) + adapter.add(TestI.TestCheckedCastI(), communicator.stringToIdentity("context")) adapter.activate() communicator.waitForShutdown() return True |