qapi/introspect.py: set _gen_tree's default ifcond argument to ()pull-qapi-2021-02-18
commit9b77d946990e7497469bb98171b90b4f3ab186a9
authorJohn Snow <jsnow@redhat.com>
Tue, 16 Feb 2021 02:18:08 +0000 (15 21:18 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 18 Feb 2021 18:51:14 +0000 (18 19:51 +0100)
treeeed7aa5c0a82caf64f88a02fa986665710c3f64b
parentcea53c31b7b29fcd239b49d738111676700924ea
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>
scripts/qapi/introspect.py