diff options
author | John Snow | 2021-04-21 20:20:17 +0200 |
---|---|---|
committer | Markus Armbruster | 2021-04-30 12:59:54 +0200 |
commit | b7341b89c9c0212fef7b38b04ffaf39ea73bfca9 (patch) | |
tree | df55a818ec5a20ede58a3386e004175b419f53f4 /scripts/qapi/__init__.py | |
parent | qapi/expr: Comment cleanup (diff) | |
download | qemu-b7341b89c9c0212fef7b38b04ffaf39ea73bfca9.tar.gz qemu-b7341b89c9c0212fef7b38b04ffaf39ea73bfca9.tar.xz qemu-b7341b89c9c0212fef7b38b04ffaf39ea73bfca9.zip |
qapi/expr.py: Remove 'info' argument from nested check_if_str
The function can just use the argument from the scope above. Otherwise,
we get shadowed argument errors because the parameter name clashes with
the name of a variable already in-scope.
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-3-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/__init__.py')
0 files changed, 0 insertions, 0 deletions