qemu/scripts/qapi
Vladimir Sementsov-Ogievskiy 167d913f34 qapi/commands: refactor error handling code
Move error_propagate() to if (err) and make "if (err)" block mandatory.
This is to simplify further commit, which will bring trace events
generation for QMP commands.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220126161130.3240892-3-vsementsov@virtuozzo.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2022-01-27 11:25:09 +01:00
..
__init__.py
.flake8
.isort.cfg
commands.py qapi/commands: refactor error handling code 2022-01-27 11:25:09 +01:00
common.py qapi: Bury some unused code in class Indentation 2021-09-08 15:30:10 +02:00
error.py qapi/error: Add type hints 2021-04-30 12:59:54 +02:00
events.py qapi: Extend -compat to set policy for unstable interfaces 2021-10-29 21:28:01 +02:00
expr.py qapi: Add feature flags to enum members 2021-10-27 17:18:55 +02:00
gen.py qapi/gen: Add FOO.trace-events output module 2022-01-27 11:24:18 +01:00
introspect.py qapi: Add feature flags to enum members 2021-10-27 17:18:55 +02:00
main.py qapi: add must_match helper 2021-05-20 11:28:28 +02:00
mypy.ini qapi/parser: enable mypy checks 2021-10-02 07:33:42 +02:00
parser.py qapi/parser: Silence too-few-public-methods warning 2021-10-02 07:33:42 +02:00
pylintrc qapi/parser: enable pylint checks 2021-10-02 07:33:42 +02:00
schema.py qapi: Extend -compat to set policy for unstable interfaces 2021-10-29 21:28:01 +02:00
source.py qapi/source: Remove line number from QAPISourceInfo initializer 2021-05-20 11:28:27 +02:00
types.py qapi: Generalize enum member policy checking 2021-10-29 18:24:56 +02:00
visit.py qapi: Generalize struct member policy checking 2021-10-29 18:23:09 +02:00