qapi/expr.py: Remove 'info' argument from nested check_if_str
commitb7341b89c9c0212fef7b38b04ffaf39ea73bfca9
authorJohn Snow <jsnow@redhat.com>
Wed, 21 Apr 2021 18:20:17 +0000 (21 14:20 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 30 Apr 2021 10:59:54 +0000 (30 12:59 +0200)
treedf55a818ec5a20ede58a3386e004175b419f53f4
parentd0a263cdd019116565682896d115ecd662515f78
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>
scripts/qapi/expr.py