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.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758072 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Reiss 2009-03-24 22:51:02 +00:00
parent a528f54eeb
commit d73255d1ac

View File

@ -94,7 +94,7 @@ class TSocket(TSocketBase):
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):