diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-12 13:50:05 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-12 13:50:05 +0000 |
commit | 892bc25c813ced27f04bd872423109f0bd868b6f (patch) | |
tree | cda7ba37c46f0ba676f62c60975c30ef40fd7fa5 /py/demo/IceGrid/simple/Server.py | |
parent | Fix bug 973 (diff) | |
download | ice-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.py | 2 |
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() |