diff options
| author | John Snow | 2021-04-21 20:20:21 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2021-04-30 12:59:54 +0200 |
| commit | 926bb8add7c549496c612fcd4a32f3cf37883c2a (patch) | |
| tree | bb319e2fa6d2959d8add1d24fc1dc97201d38a07 /tests/qapi-schema | |
| parent | qapi/expr.py: Add assertion for union type 'check_dict' (diff) | |
| download | qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.tar.gz qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.tar.xz qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.zip | |
qapi/expr.py: move string check upwards in check_type
For readability purposes only, shimmy the early return upwards to the
top of the function, so cases proceed in order from least to most
complex.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20210421182032.3521476-7-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema')
0 files changed, 0 insertions, 0 deletions
