Re: [PATCH 2/3] python/qemu/qmp.py: re-raise OSError when encountered

2020-10-09 Thread Philippe Mathieu-Daudé
On 10/9/20 7:51 PM, John Snow wrote: Nested if conditions don't change when the exception block fires; we need to explicitly re-raise the error if we didn't intend to capture and suppress it. Signed-off-by: John Snow --- python/qemu/qmp.py | 11 ++- 1 file changed, 6 insertions(+), 5

[PATCH 2/3] python/qemu/qmp.py: re-raise OSError when encountered

2020-10-09 Thread John Snow
Nested if conditions don't change when the exception block fires; we need to explicitly re-raise the error if we didn't intend to capture and suppress it. Signed-off-by: John Snow --- python/qemu/qmp.py | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/python/qemu/q