Re: [PATCH 17/20] python/qemu/qmp.py: Preserve error context on re-raise

2020-10-07 Thread John Snow
On 10/7/20 7:21 AM, Kevin Wolf wrote: Am 07.10.2020 um 01:58 hat John Snow geschrieben: Use the "from ..." phrasing when re-raising errors to preserve their initial context, to help aid debugging when things go wrong. This also silences a pylint 2.6.0+ error. Signed-off-by: John Snow I don'

Re: [PATCH 17/20] python/qemu/qmp.py: Preserve error context on re-raise

2020-10-07 Thread Kevin Wolf
Am 07.10.2020 um 01:58 hat John Snow geschrieben: > Use the "from ..." phrasing when re-raising errors to preserve their > initial context, to help aid debugging when things go wrong. > > This also silences a pylint 2.6.0+ error. > > Signed-off-by: John Snow I don't really understand what this

Re: [PATCH 17/20] python/qemu/qmp.py: Preserve error context on re-raise

2020-10-06 Thread Philippe Mathieu-Daudé
On 10/7/20 1:58 AM, John Snow wrote: > Use the "from ..." phrasing when re-raising errors to preserve their > initial context, to help aid debugging when things go wrong. > > This also silences a pylint 2.6.0+ error. > > Signed-off-by: John Snow > --- > python/qemu/qmp.py | 9 + > 1 fil

[PATCH 17/20] python/qemu/qmp.py: Preserve error context on re-raise

2020-10-06 Thread John Snow
Use the "from ..." phrasing when re-raising errors to preserve their initial context, to help aid debugging when things go wrong. This also silences a pylint 2.6.0+ error. Signed-off-by: John Snow --- python/qemu/qmp.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git