mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +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):
|
class _SnapdAdapter(HTTPAdapter):
|
||||||
def get_connection_with_tls_context(self, _request: PreparedRequest,
|
def get_connection_with_tls_context(self, request: PreparedRequest,
|
||||||
_verify: bool,
|
verify: bool,
|
||||||
_proxies: Optional[Iterable[str]] = None,
|
proxies: Optional[Iterable[str]] = None,
|
||||||
_cert: Optional[bytes] = None
|
cert: Optional[bytes] = None
|
||||||
) -> _SnapdConnectionPool:
|
) -> _SnapdConnectionPool:
|
||||||
"""Required method for creating a new connection pool. Simply return our
|
"""Required method for creating a new connection pool. Simply return our
|
||||||
shim that forces a UNIX socket connection to snapd."""
|
shim that forces a UNIX socket connection to snapd."""
|
||||||
|
|||||||
Reference in New Issue
Block a user