container-driver: ignore lint warning

This commit is contained in:
Jörg Thalheim
2024-10-22 12:48:09 +02:00
parent 3bdb932cc2
commit 56cbee45cd

View File

@@ -241,7 +241,7 @@ class TerminalLogger(AbstractLogger):
class XMLLogger(AbstractLogger):
def __init__(self, outfile: str) -> None:
self.logfile_handle = codecs.open(outfile, "wb")
self.logfile_handle = codecs.open(outfile, "wb") # noqa: SIM115
self.xml = XMLGenerator(self.logfile_handle, encoding="utf-8")
self.queue: Queue[dict[str, str]] = Queue()