diff options
author | John Snow <jsnow@redhat.com> | 2021-02-15 21:18:08 -0500 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-02-18 19:51:14 +0100 |
commit | 9b77d946990e7497469bb98171b90b4f3ab186a9 (patch) | |
tree | eed7aa5c0a82caf64f88a02fa986665710c3f64b /tests/qapi-schema/test-qapi.py | |
parent | cea53c31b7b29fcd239b49d738111676700924ea (diff) | |
download | qemu-9b77d946990e7497469bb98171b90b4f3ab186a9.zip qemu-9b77d946990e7497469bb98171b90b4f3ab186a9.tar.gz qemu-9b77d946990e7497469bb98171b90b4f3ab186a9.tar.bz2 |
qapi/introspect.py: set _gen_tree's default ifcond argument to ()
We don't need to create an empty, mutable list to pass to _gen_tree;
since it is now typed as a Sequence, we can use the empty tuple as a
default and omit the argument.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210216021809.134886-19-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/test-qapi.py')
0 files changed, 0 insertions, 0 deletions