qapi/commands.py: Don't re-bind to variable of different type
commitab2d8a75b6437b7386f77c5025e1331c20a5ac4e
authorJohn Snow <jsnow@redhat.com>
Fri, 9 Oct 2020 16:15:43 +0000 (9 12:15 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 10 Oct 2020 09:37:48 +0000 (10 11:37 +0200)
treeea51200f1407eaa53e876fb9846b0f72442e72c7
parent1a503761e451549ba7457848d3955bd3391438d6
qapi/commands.py: Don't re-bind to variable of different type

Mypy isn't a fan of rebinding a variable with a new data type.
It's easy enough to avoid.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201009161558.107041-22-jsnow@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/commands.py