mirror of
https://github.com/certbot/certbot.git
synced 2026-07-31 18:34:41 +02:00
snap_config: oops kwargs are important i guess
This commit is contained in:
@@ -100,10 +100,10 @@ class _SnapdConnectionPool(HTTPConnectionPool):
|
||||
|
||||
|
||||
class _SnapdAdapter(HTTPAdapter):
|
||||
def get_connection_with_tls_context(self, _request: PreparedRequest,
|
||||
_verify: bool,
|
||||
_proxies: Optional[Iterable[str]] = None,
|
||||
_cert: Optional[bytes] = None
|
||||
def get_connection_with_tls_context(self, request: PreparedRequest,
|
||||
verify: bool,
|
||||
proxies: Optional[Iterable[str]] = None,
|
||||
cert: Optional[bytes] = None
|
||||
) -> _SnapdConnectionPool:
|
||||
"""Required method for creating a new connection pool. Simply return our
|
||||
shim that forces a UNIX socket connection to snapd."""
|
||||
|
||||
Reference in New Issue
Block a user