diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-04-24 14:16:15 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-04-24 14:16:15 -0700 |
commit | 943a48fc5c0a59b892eb746073c71b8dd88815e7 (patch) | |
tree | 421cfedbc60603d02e0b314d9204e9f85dd781c5 /py/demo/IceGrid/simple/Server.py | |
parent | minor fix to IcePHP getLogger (diff) | |
download | ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.tar.bz2 ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.tar.xz ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.zip |
python 3 support
Diffstat (limited to 'py/demo/IceGrid/simple/Server.py')
-rwxr-xr-x | py/demo/IceGrid/simple/Server.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/demo/IceGrid/simple/Server.py b/py/demo/IceGrid/simple/Server.py index 0dd15137918..eac5cb19c64 100755 --- a/py/demo/IceGrid/simple/Server.py +++ b/py/demo/IceGrid/simple/Server.py @@ -18,16 +18,16 @@ class HelloI(Demo.Hello): self.name = name def sayHello(self, current=None): - print self.name + " says Hello World!" + print(self.name + " says Hello World!") def shutdown(self, current=None): - print self.name + " shutting down..." + print(self.name + " shutting down...") current.adapter.getCommunicator().shutdown() class Server(Ice.Application): def run(self, args): if len(args) > 1: - print self.appName() + ": too many arguments" + print(self.appName() + ": too many arguments") return 1 properties = self.communicator().getProperties() |