You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/03/24 23:51:02 UTC
svn commit: r758072 - /incubator/thrift/trunk/lib/py/src/transport/TSocket.py
Author: dreiss
Date: Tue Mar 24 22:51:02 2009
New Revision: 758072
URL: http://svn.apache.org/viewvc?rev=758072&view=rev
Log:
THRIFT-329. python: Make TServerSocket.close() work properly
Changing the order of inheritance makes "close" refer to the
(correct) TSocketBase method, rather than the (stub)
TServerTransportBase method.
Modified:
incubator/thrift/trunk/lib/py/src/transport/TSocket.py
Modified: incubator/thrift/trunk/lib/py/src/transport/TSocket.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/transport/TSocket.py?rev=758072&r1=758071&r2=758072&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/transport/TSocket.py (original)
+++ incubator/thrift/trunk/lib/py/src/transport/TSocket.py Tue Mar 24 22:51:02 2009
@@ -94,7 +94,7 @@
def flush(self):
pass
-class TServerSocket(TServerTransportBase, TSocketBase):
+class TServerSocket(TSocketBase, TServerTransportBase):
"""Socket implementation of TServerTransport base."""
def __init__(self, port=9090, unix_socket=None):