Re: [PATCH 11/14] qapi/doc.py: Don't use private attributes of QAPIGen property

2020-09-23 Thread Eduardo Habkost
On Tue, Sep 22, 2020 at 05:17:59PM -0400, John Snow wrote: > Use the new __bool__ method to do the same without exposing the private > attribute. > > Signed-off-by: John Snow Reviewed-by: Eduardo Habkost -- Eduardo

[PATCH 11/14] qapi/doc.py: Don't use private attributes of QAPIGen property

2020-09-22 Thread John Snow
Use the new __bool__ method to do the same without exposing the private attribute. Signed-off-by: John Snow --- scripts/qapi/doc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/qapi/doc.py b/scripts/qapi/doc.py index 5f2b0cd51d..2914e93b1c 100644 --- a/scripts/