summaryrefslogtreecommitdiff
path: root/python/test/Ice/servantLocator/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/servantLocator/Server.py')
-rwxr-xr-xpython/test/Ice/servantLocator/Server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/servantLocator/Server.py b/python/test/Ice/servantLocator/Server.py
index 0d5ed9e3574..3eb06581e9a 100755
--- a/python/test/Ice/servantLocator/Server.py
+++ b/python/test/Ice/servantLocator/Server.py
@@ -22,8 +22,8 @@ class TestServer(Ice.Application):
adapter = self.communicator().createObjectAdapter("TestAdapter")
adapter.addServantLocator(TestI.ServantLocatorI("category"), "category")
adapter.addServantLocator(TestI.ServantLocatorI(""), "")
- adapter.add(TestI.TestI(), self.communicator().stringToIdentity("asm"))
- adapter.add(TestActivationI.TestActivationI(), self.communicator().stringToIdentity("test/activation"))
+ adapter.add(TestI.TestI(), Ice.stringToIdentity("asm"))
+ adapter.add(TestActivationI.TestActivationI(), Ice.stringToIdentity("test/activation"))
adapter.activate()
adapter.waitForDeactivate()