THRIFT-2267:Should be able to choose socket family in Python TSocket
Client: py
Patch: Abraham Elmahrek
Fix socket_family prefix in previous commit.
diff --git a/lib/py/src/transport/TSocket.py b/lib/py/src/transport/TSocket.py
index d72cf2b..0175bdc 100644
--- a/lib/py/src/transport/TSocket.py
+++ b/lib/py/src/transport/TSocket.py
@@ -33,7 +33,7 @@
else:
return socket.getaddrinfo(self.host,
self.port,
- socket.self._socket_family,
+ self._socket_family,
socket.SOCK_STREAM,
0,
socket.AI_PASSIVE | socket.AI_ADDRCONFIG)