diff options
author | John Snow <jsnow@redhat.com> | 2021-04-21 14:20:21 -0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-04-30 12:59:54 +0200 |
commit | 926bb8add7c549496c612fcd4a32f3cf37883c2a (patch) | |
tree | bb319e2fa6d2959d8add1d24fc1dc97201d38a07 /tests | |
parent | b66c62a2d3318c5d968d5b95428efb74ca5d5702 (diff) | |
download | qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.zip qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.tar.gz qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions