[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/5] python/qemu: qmp: Remove unnused attributes
From: |
John Snow |
Subject: |
Re: [PATCH 5/5] python/qemu: qmp: Remove unnused attributes |
Date: |
Wed, 8 Jan 2020 19:23:53 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 |
On 12/27/19 8:41 AM, Wainer dos Santos Moschetta wrote:
> 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 6d55f53595..cddb94bb3c 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):
> """
>
--
—js
- Re: [PATCH 5/5] python/qemu: qmp: Remove unnused attributes,
John Snow <=