diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-10-21 18:41:17 -0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2019-11-05 16:36:11 +0100 |
commit | 9fdd7860adec188ed50d2530e9a819e8d953f9bb (patch) | |
tree | 918ecb6b728ba29fa15dae40e4d4ed1f5e1aef9d /docs | |
parent | fca538a17124139d0270a5e2eb8da0dea50b4d5a (diff) | |
download | qemu-9fdd7860adec188ed50d2530e9a819e8d953f9bb.zip qemu-9fdd7860adec188ed50d2530e9a819e8d953f9bb.tar.gz qemu-9fdd7860adec188ed50d2530e9a819e8d953f9bb.tar.bz2 |
image-fuzzer: Use OSerror.strerror instead of tuple subscript
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 <jsnow@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20191021214117.18091-1-ehabkost@redhat.com
Message-Id: <20191021214117.18091-1-ehabkost@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions