selectors is now part of stdlib. (#1166)

This commit is contained in:
Felix Fontein
2025-10-12 22:00:51 +02:00
committed by GitHub
parent c75aa5dd64
commit 17e30adb93
4 changed files with 21 additions and 25 deletions
+1 -5
View File
@@ -7,8 +7,6 @@
from __future__ import annotations
import selectors
from ansible_collections.community.docker.plugins.module_utils._socket_handler import (
DockerSocketHandlerBase,
)
@@ -16,6 +14,4 @@ from ansible_collections.community.docker.plugins.module_utils._socket_handler i
class DockerSocketHandler(DockerSocketHandlerBase):
def __init__(self, display, sock, log=None, container=None):
super().__init__(
sock, selectors, log=lambda msg: display.vvvv(msg, host=container)
)
super().__init__(sock, log=lambda msg: display.vvvv(msg, host=container))