[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] image-fuzzer: Use OSerror.strerror instead of tuple subscrip
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] image-fuzzer: Use OSerror.strerror instead of tuple subscript |
Date: |
Tue, 5 Nov 2019 16:36:18 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Mon, Oct 21, 2019 at 06:41:17PM -0300, Eduardo Habkost wrote:
> OSError can't be used like a tuple on Python 3, so change the
> code to use `e.sterror` instead of `e[1]`.
>
> Reported-by: John Snow <address@hidden>
> Signed-off-by: Eduardo Habkost <address@hidden>
> ---
> tests/image-fuzzer/runner.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] image-fuzzer: Use OSerror.strerror instead of tuple subscript,
Stefan Hajnoczi <=