[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] qapi: Use super() now we have Python 3
From: |
Markus Armbruster |
Subject: |
Re: [PATCH 3/4] qapi: Use super() now we have Python 3 |
Date: |
Wed, 04 Mar 2020 08:32:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Markus Armbruster <address@hidden> writes:
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
[...]
> diff --git a/scripts/qapi/schema.py b/scripts/qapi/schema.py
> index c8bcfe2c49..e132442c04 100644
> --- a/scripts/qapi/schema.py
> +++ b/scripts/qapi/schema.py
[...]
> @@ -614,7 +614,7 @@ class
> QAPISchemaObjectTypeVariant(QAPISchemaObjectTypeMember):
> role = 'branch'
>
> def __init__(self, name, info, typ, ifcond=None):
> - QAPISchemaObjectTypeMember.__init__(self, name, info, typ,
> + super().__init__(name, info, typ,
> False, ifcond)
pycodestyle-3 gripes:
scripts/qapi/schema.py:618:45: E127 continuation line over-indented for
visual indent
Will fix.
[...]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 3/4] qapi: Use super() now we have Python 3,
Markus Armbruster <=