2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-23 01:01:28 +00:00

Fix indentation error

This commit is contained in:
Jarrod Johnson
2026-04-17 10:45:45 -04:00
parent f1f5f1b3b8
commit 3aeb1389a6

View File

@@ -198,7 +198,7 @@ async def sendall(handle, data):
cloop = asyncio.get_event_loop()
return await cloop.sock_sendall(handle, data)
def get_socket(handle):
def get_socket(handle):
if isinstance(handle, tuple):
return handle[1].transport.get_extra_info('socket')
else: