Re: [PATCH v5 21/36] qapi/commands.py: Don't re-bind to variable of different type

2020-10-07 Thread Markus Armbruster
John Snow writes: > 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 > Reviewed-by: Eduardo Habkost > Reviewed-by: Cleber Rosa > --- > scripts/qapi/commands.py | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

[PATCH v5 21/36] qapi/commands.py: Don't re-bind to variable of different type

2020-10-05 Thread John Snow
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 Reviewed-by: Eduardo Habkost Reviewed-by: Cleber Rosa --- scripts/qapi/commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/qapi/commands.py