mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
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:
parent
a528f54eeb
commit
d73255d1ac
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user