summaryrefslogtreecommitdiffstats
path: root/python/qemu/console_socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qemu/console_socket.py')
-rw-r--r--python/qemu/console_socket.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/qemu/console_socket.py b/python/qemu/console_socket.py
index 87237bebef..8c4ff598ad 100644
--- a/python/qemu/console_socket.py
+++ b/python/qemu/console_socket.py
@@ -39,6 +39,7 @@ class ConsoleSocket(socket.socket):
self.connect(address)
self._logfile = None
if file:
+ # pylint: disable=consider-using-with
self._logfile = open(file, "bw")
self._open = True
self._drain_thread = None