diff options
author | John Snow <jsnow@redhat.com> | 2023-10-06 15:52:40 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2023-10-11 16:02:34 -0400 |
commit | ff2e08132f332b6b64d69774dd9a40a2b74fd04c (patch) | |
tree | 6d73455a887dee638f0acb515d3b40d4b742f531 /python | |
parent | 46d4747ab59721e657c0012d2f2ca6f3aeb7085d (diff) | |
download | qemu-ff2e08132f332b6b64d69774dd9a40a2b74fd04c.zip qemu-ff2e08132f332b6b64d69774dd9a40a2b74fd04c.tar.gz qemu-ff2e08132f332b6b64d69774dd9a40a2b74fd04c.tar.bz2 |
Python/iotests: Add type hint for nbd module
The test bails gracefully if this module isn't installed, but linters
need a little help understanding that. It's enough to just declare the
type in this case.
(Fixes pylint complaining about use of an uninitialized variable because
it isn't wise enough to understand the notrun call is noreturn.)
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-id: 20231006195243.3131140-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions