From 883edab4361e58957796f25d5fc55cfb41f0f6ea Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Wed, 27 Jul 2016 19:30:37 -0400 Subject: Deprecate Communicator::stringToIdentity and identityToString --- python/test/Ice/acm/Server.py | 2 +- python/test/Ice/acm/TestI.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python/test/Ice/acm') diff --git a/python/test/Ice/acm/Server.py b/python/test/Ice/acm/Server.py index 4769e6de0bc..78f2486754b 100755 --- a/python/test/Ice/acm/Server.py +++ b/python/test/Ice/acm/Server.py @@ -22,7 +22,7 @@ def run(args, communicator): communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010") communicator.getProperties().setProperty("TestAdapter.ACM.Timeout", "0") adapter = communicator.createObjectAdapter("TestAdapter") - id = communicator.stringToIdentity("communicator") + id = Ice.stringToIdentity("communicator") adapter.add(TestI.RemoteCommunicatorI(), id) adapter.activate() diff --git a/python/test/Ice/acm/TestI.py b/python/test/Ice/acm/TestI.py index 920cbd44c7e..a728dfce1b3 100644 --- a/python/test/Ice/acm/TestI.py +++ b/python/test/Ice/acm/TestI.py @@ -33,7 +33,7 @@ class RemoteObjectAdapterI(Test.RemoteObjectAdapter): def __init__(self, adapter): self._adapter = adapter self._testIntf = Test.TestIntfPrx.uncheckedCast(adapter.add(TestIntfI(), - adapter.getCommunicator().stringToIdentity("test"))) + Ice.stringToIdentity("test"))) adapter.activate() def getTestIntf(self, current=None): -- cgit v1.2.3