THRIFT-3506 Eliminate old style classes from library code
Client: Python
Patch: Nobuaki Sukegawa
This closes #758
diff --git a/lib/py/src/server/TNonblockingServer.py b/lib/py/src/server/TNonblockingServer.py
index 79748b7..a930a80 100644
--- a/lib/py/src/server/TNonblockingServer.py
+++ b/lib/py/src/server/TNonblockingServer.py
@@ -88,7 +88,7 @@
return read
-class Connection:
+class Connection(object):
"""Basic class is represented connection.
It can be in state:
@@ -222,7 +222,7 @@
self.socket.close()
-class TNonblockingServer:
+class TNonblockingServer(object):
"""Non-blocking server."""
def __init__(self,