summaryrefslogtreecommitdiff
path: root/py/demo/IceGrid/simple/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/IceGrid/simple/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/IceGrid/simple/Server.py')
-rw-r--r--py/demo/IceGrid/simple/Server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/demo/IceGrid/simple/Server.py b/py/demo/IceGrid/simple/Server.py
index ebd6b7c069a..750d5e30800 100644
--- a/py/demo/IceGrid/simple/Server.py
+++ b/py/demo/IceGrid/simple/Server.py
@@ -28,7 +28,7 @@ class Server(Ice.Application):
def run(self, args):
properties = self.communicator().getProperties()
adapter = self.communicator().createObjectAdapter("Hello")
- id = Ice.stringToIdentity(properties.getProperty("Identity"))
+ id = self.communicator().stringToIdentity(properties.getProperty("Identity"))
adapter.add(HelloI(properties.getProperty("Ice.ServerId")), id)
adapter.activate()
self.communicator().waitForShutdown()