qapi: Drop Indentation.__bool__()
authorMarkus Armbruster <armbru@redhat.com>
Wed, 8 Sep 2021 04:54:25 +0000 (06:54 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 8 Sep 2021 13:30:10 +0000 (15:30 +0200)
commit916fca17c7445c17d4be37610c80c1f68784ef28
treeae15b4baf34862e64e65ca8ba541b37704279f99
parent7b275cdd69d5e6af0b95f4e6440d4664fe1c3674
qapi: Drop Indentation.__bool__()

Intentation.__bool__() is not worth its keep: it has just one user,
which can just as well check .__str__() instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210908045428.2689093-3-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
scripts/qapi/common.py