summaryrefslogtreecommitdiffstats
path: root/scripts/simpletrace.py
diff options
context:
space:
mode:
authorMarkus Armbruster2015-11-18 09:52:45 +0100
committerMarkus Armbruster2015-12-17 08:21:26 +0100
commit14ff84619c6bb9b729dbf8b127c1e4c56ed8c500 (patch)
treef3e593824e3c8daca3fc7d7db0be5c296588ad98 /scripts/simpletrace.py
parentqapi: Factor out QAPISchemaObjectTypeMember.check_clash() (diff)
downloadqemu-14ff84619c6bb9b729dbf8b127c1e4c56ed8c500.tar.gz
qemu-14ff84619c6bb9b729dbf8b127c1e4c56ed8c500.tar.xz
qemu-14ff84619c6bb9b729dbf8b127c1e4c56ed8c500.zip
qapi: Simplify QAPISchemaObjectTypeVariants.check()
Reduce the ugly flat union / simple union conditional by doing just the essential work here, namely setting self.tag_member. Move the rest to callers. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1446559499-26984-7-git-send-email-armbru@redhat.com> [rebase to earlier changes that moved tag_member.check() of alternate types, and tweak commit title and wording] Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-11-git-send-email-eblake@redhat.com>
Diffstat (limited to 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions