summaryrefslogtreecommitdiff
path: root/py/test/Ice/facets/Server.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-12 13:50:05 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-12 13:50:05 +0000
commit892bc25c813ced27f04bd872423109f0bd868b6f (patch)
treecda7ba37c46f0ba676f62c60975c30ef40fd7fa5 /py/test/Ice/facets/Server.py
parentFix bug 973 (diff)
downloadice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.bz2
ice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.xz
ice-892bc25c813ced27f04bd872423109f0bd868b6f.zip
Removed/fixed use of stringToIdentity. Fixed bug 973
Diffstat (limited to 'py/test/Ice/facets/Server.py')
-rw-r--r--py/test/Ice/facets/Server.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/test/Ice/facets/Server.py b/py/test/Ice/facets/Server.py
index a5f004d072b..1048de39eac 100644
--- a/py/test/Ice/facets/Server.py
+++ b/py/test/Ice/facets/Server.py
@@ -28,12 +28,12 @@ def run(args, communicator):
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000")
adapter = communicator.createObjectAdapter("TestAdapter")
d = TestI.DI()
- adapter.add(d, Ice.stringToIdentity("d"))
- adapter.addFacet(d, Ice.stringToIdentity("d"), "facetABCD")
+ adapter.add(d, communicator.stringToIdentity("d"))
+ adapter.addFacet(d, communicator.stringToIdentity("d"), "facetABCD")
f = TestI.FI()
- adapter.addFacet(f, Ice.stringToIdentity("d"), "facetEF")
+ adapter.addFacet(f, communicator.stringToIdentity("d"), "facetEF")
h = TestI.HI(communicator)
- adapter.addFacet(h, Ice.stringToIdentity("d"), "facetGH")
+ adapter.addFacet(h, communicator.stringToIdentity("d"), "facetGH")
adapter.activate()
communicator.waitForShutdown()