diff options
author | 2019-10-21 18:41:17 -0300 | |
---|---|---|
committer | 2019-11-05 16:36:11 +0100 | |
commit | 9fdd7860adec188ed50d2530e9a819e8d953f9bb (patch) | |
tree | 918ecb6b728ba29fa15dae40e4d4ed1f5e1aef9d /util/qemu-timer.c | |
parent | image-fuzzer: Use errors parameter of subprocess.Popen() (diff) | |
download | qemu-9fdd7860adec188ed50d2530e9a819e8d953f9bb.tar.xz qemu-9fdd7860adec188ed50d2530e9a819e8d953f9bb.zip |
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 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions