qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 15/37] qapi/common.py: split build_params into new file


From: Markus Armbruster
Subject: Re: [PATCH 15/37] qapi/common.py: split build_params into new file
Date: Thu, 17 Sep 2020 16:42:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

John Snow <jsnow@redhat.com> writes:

> Including it in common.py creates a circular import dependency, because
> schema relies on common.py. To type build_params properly, it needs to
> be moved outside of the chain.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  scripts/qapi/commands.py |  2 +-
>  scripts/qapi/common.py   | 23 -----------------------
>  scripts/qapi/events.py   |  2 +-
>  scripts/qapi/params.py   | 40 ++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 42 insertions(+), 25 deletions(-)
>  create mode 100644 scripts/qapi/params.py

Ugh.

Would moving it gen.py work?




reply via email to

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