qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/5] qapi: Drop Indentation.__bool__()


From: Eric Blake
Subject: Re: [PATCH 2/5] qapi: Drop Indentation.__bool__()
Date: Mon, 13 Sep 2021 13:29:17 -0500
User-agent: NeoMutt/20210205-772-2b4c52

On Wed, Sep 08, 2021 at 06:54:25AM +0200, Markus Armbruster wrote:
> Intentation.__bool__() is not worth its keep: it has just one user,

Indentation

> which can just as well check .__str__() instead.
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
>  scripts/qapi/common.py | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]