summaryrefslogtreecommitdiff
path: root/py/demo/Glacier2/callback/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/demo/Glacier2/callback/Server.py')
-rwxr-xr-xpy/demo/Glacier2/callback/Server.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/demo/Glacier2/callback/Server.py b/py/demo/Glacier2/callback/Server.py
index 1ad915750ec..0c43c3f80a6 100755
--- a/py/demo/Glacier2/callback/Server.py
+++ b/py/demo/Glacier2/callback/Server.py
@@ -15,20 +15,20 @@ import Demo
class CallbackI(Demo.Callback):
def initiateCallback(self, proxy, current=None):
- print "initiating callback to: " + current.adapter.getCommunicator().proxyToString(proxy)
+ print("initiating callback to: " + current.adapter.getCommunicator().proxyToString(proxy))
try:
proxy.callback()
except:
traceback.print_exc()
def shutdown(self, current=None):
- print "shutting down..."
+ print("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
adapter = self.communicator().createObjectAdapter("Callback.Server")