Skip to content

Commit 55f18f0

Browse files
committed
SocketInfo's 'host' parameter is no longer optional.
1 parent 118b47e commit 55f18f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def socket_keepalive(self):
116116
class SocketInfo(object):
117117
"""Store a socket with some metadata
118118
"""
119-
def __init__(self, sock, pool, host=None):
119+
def __init__(self, sock, pool, host):
120120
self.sock = sock
121121
self.host = host
122122
self.authset = set()

0 commit comments

Comments
 (0)