Skip to content

Commit f0f8863

Browse files
authored
Merge pull request #1 from filippog/patch-1
Pass request_context to _new_pool
2 parents 4f8d8dd + fac00ed commit f0f8863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __init__(self, *args, **kwargs):
111111
self.dest_ip = kwargs.pop('dest_ip', None)
112112
super(ForcedIPHTTPSPoolManager, self).__init__(*args, **kwargs)
113113

114-
def _new_pool(self, scheme, host, port):
114+
def _new_pool(self, scheme, host, port, request_context=None):
115115
kwargs = self.connection_pool_kw
116116
assert scheme == 'https'
117117
kwargs['dest_ip'] = self.dest_ip

0 commit comments

Comments
 (0)