THRIFT-4405: fix cygwin on appveyor
diff --git a/lib/nodejs/examples/httpServer.py b/lib/nodejs/examples/httpServer.py
index b712fcd..76e9f4a 100644
--- a/lib/nodejs/examples/httpServer.py
+++ b/lib/nodejs/examples/httpServer.py
@@ -5,10 +5,12 @@
from thrift.protocol import TJSONProtocol
from thrift.server import THttpServer
+
class HelloSvcHandler:
- def hello_func(self):
- print("Hello Called")
- return "hello from Python"
+ def hello_func(self):
+ print("Hello Called")
+ return "hello from Python"
+
processor = HelloSvc.Processor(HelloSvcHandler())
protoFactory = TJSONProtocol.TJSONProtocolFactory()