You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by he...@apache.org on 2013/11/08 19:06:50 UTC
git commit: Python Tornado TTornadoServer base class change Patch:
Bryan Pham
Updated Branches:
refs/heads/master f4e6e62ea -> 3e25e5e62
Python Tornado TTornadoServer base class change
Patch: Bryan Pham
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/3e25e5e6
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/3e25e5e6
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/3e25e5e6
Branch: refs/heads/master
Commit: 3e25e5e62ae173ad8a629b1673fba8a1853feeca
Parents: f4e6e62
Author: henrique <he...@apache.org>
Authored: Fri Nov 8 19:06:21 2013 +0100
Committer: henrique <he...@apache.org>
Committed: Fri Nov 8 19:06:21 2013 +0100
----------------------------------------------------------------------
lib/py/src/TTornado.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/3e25e5e6/lib/py/src/TTornado.py
----------------------------------------------------------------------
diff --git a/lib/py/src/TTornado.py b/lib/py/src/TTornado.py
index af309c3..d90f672 100644
--- a/lib/py/src/TTornado.py
+++ b/lib/py/src/TTornado.py
@@ -27,7 +27,7 @@ from thrift.transport.TTransport import TTransportException
from tornado import gen
from tornado import iostream
-from tornado import netutil
+from tornado import tcpserver
class TTornadoStreamTransport(TTransport.TTransportBase):
@@ -125,7 +125,7 @@ class TTornadoStreamTransport(TTransport.TTransportBase):
self.stream.write(buf, callback)
-class TTornadoServer(netutil.TCPServer):
+class TTornadoServer(tcpserver.TCPServer):
def __init__(self, processor, iprot_factory, oprot_factory=None,
*args, **kwargs):
super(TTornadoServer, self).__init__(*args, **kwargs)