summaryrefslogtreecommitdiff
path: root/py/demo/Ice/throughput/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/demo/Ice/throughput/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/demo/Ice/throughput/Server.py')
-rw-r--r--py/demo/Ice/throughput/Server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/demo/Ice/throughput/Server.py b/py/demo/Ice/throughput/Server.py
index 97f76c7e594..a5f891052a5 100644
--- a/py/demo/Ice/throughput/Server.py
+++ b/py/demo/Ice/throughput/Server.py
@@ -80,7 +80,7 @@ class ThroughputI(Demo.Throughput):
class Server(Ice.Application):
def run(self, args):
adapter = self.communicator().createObjectAdapter("Throughput")
- adapter.add(ThroughputI(), Ice.stringToIdentity("throughput"))
+ adapter.add(ThroughputI(), self.communicator().stringToIdentity("throughput"))
adapter.activate()
self.communicator().waitForShutdown()
return True