From: Wainer dos Santos Moschetta Date: Fri, 27 Dec 2019 13:41:01 +0000 (-0300) Subject: python/qemu: qmp: Remove unnused attributes X-Git-Tag: qemu-xen-4.14.0~153^2~41 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=50d189c97ab8ed3de80d0ed22a867e1d5361fd02;p=qemu-xen.git python/qemu: qmp: Remove unnused attributes The `error` and `timeout` attributes in QEMUMonitorProtocol are not used, so this delete them. Signed-off-by: Wainer dos Santos Moschetta Reviewed-by: John Snow Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20191227134101.244496-6-wainersm@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- 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): """