[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/5] python/qemu: qmp: Remove unnused attributes
From: |
Wainer dos Santos Moschetta |
Subject: |
[PATCH v2 5/5] python/qemu: qmp: Remove unnused attributes |
Date: |
Tue, 4 Feb 2020 11:11:11 -0300 |
The `error` and `timeout` attributes in QEMUMonitorProtocol are
not used, so this delete them.
Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: John Snow <address@hidden>
---
python/qemu/qmp.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/python/qemu/qmp.py b/python/qemu/qmp.py
index 486a566da0..4b9a362240 100644
--- a/python/qemu/qmp.py
+++ b/python/qemu/qmp.py
@@ -45,10 +45,6 @@ class QEMUMonitorProtocol:
#: Logger object for debugging messages
logger = logging.getLogger('QMP')
- #: Socket's error class
- error = socket.error
- #: Socket's timeout
- timeout = socket.timeout
def __init__(self, address, server=False):
"""
--
2.23.0
- [PATCH v2 0/5] python/qemu: qmp: Fix, delint and improvements, Wainer dos Santos Moschetta, 2020/02/04
- [PATCH v2 1/5] python/qemu: qmp: Replace socket.error with OSError, Wainer dos Santos Moschetta, 2020/02/04
- [PATCH v2 2/5] python/qemu: Delint the qmp module, Wainer dos Santos Moschetta, 2020/02/04
- [PATCH v2 4/5] python/qemu: qmp: Make QEMUMonitorProtocol a context manager, Wainer dos Santos Moschetta, 2020/02/04
- [PATCH v2 5/5] python/qemu: qmp: Remove unnused attributes,
Wainer dos Santos Moschetta <=
- [PATCH v2 3/5] python/qemu: qmp: Make accept()'s timeout configurable, Wainer dos Santos Moschetta, 2020/02/04
- Re: [PATCH v2 0/5] python/qemu: qmp: Fix, delint and improvements, Philippe Mathieu-Daudé, 2020/02/06