Skip to content

Commit

Permalink
python/qemu: qmp: Remove unnused attributes
Browse files Browse the repository at this point in the history
The `error` and `timeout` attributes in QEMUMonitorProtocol are
not used, so this delete them.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191227134101.244496-6-wainersm@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
  • Loading branch information
wainersm authored and philmd committed Feb 7, 2020
1 parent 07608e8 commit 50d189c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/qemu/qmp.py
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 50d189c

Please sign in to comment.