THRIFT-4309: Python print() function
Client: py
This closes #1339
diff --git a/lib/nodejs/examples/httpServer.py b/lib/nodejs/examples/httpServer.py
index b8ba586..b712fcd 100644
--- a/lib/nodejs/examples/httpServer.py
+++ b/lib/nodejs/examples/httpServer.py
@@ -7,7 +7,7 @@
class HelloSvcHandler:
def hello_func(self):
- print "Hello Called"
+ print("Hello Called")
return "hello from Python"
processor = HelloSvc.Processor(HelloSvcHandler())
@@ -16,4 +16,3 @@
server = THttpServer.THttpServer(processor, ("localhost", port), protoFactory)
print "Python server running on port " + str(port)
server.serve()
-