qapi: Rename QAPISchemaObjectType.variants to .branches
A previous commit narrowed the type of QAPISchemaObjectType.variants from QAPISchemaVariants to QAPISchemaBranches. Rename it to .branches. Same for .__init__() parameter @variants. Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
@@ -171,7 +171,7 @@ def gen_object(name: str, ifcond: QAPISchemaIfCond,
|
||||
if not isinstance(obj, QAPISchemaObjectType):
|
||||
continue
|
||||
ret += gen_object(obj.name, obj.ifcond, obj.base,
|
||||
obj.local_members, obj.variants)
|
||||
obj.local_members, obj.branches)
|
||||
|
||||
ret += mcgen('''
|
||||
|
||||
|
Reference in New Issue
Block a user