summary refs log tree commit diff stats
path: root/tests/qemu-iotests/nbd-fault-injector.py
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-10-22 14:53:05 +0100
committerEduardo Habkost <ehabkost@redhat.com>2018-10-30 21:13:54 -0300
commitc1a65cba9c1b9a0ad72046dc73ab0e316b9cb7fe (patch)
treec03add53bede8d4e7ecaedf4e55aa889692b24fb /tests/qemu-iotests/nbd-fault-injector.py
parentbf43b29df4cdc716f4a2af98b37e206a11541d99 (diff)
downloadfocaccia-qemu-c1a65cba9c1b9a0ad72046dc73ab0e316b9cb7fe.tar.gz
focaccia-qemu-c1a65cba9c1b9a0ad72046dc73ab0e316b9cb7fe.zip
iotests: 'new' module replacement in 169
iotest 169 uses the 'new' module to add methods to a class.  This module
no longer exists in Python 3.  Instead, we can use a lambda.  Best of
all, this works in 2.7 just as well.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20181022135307.14398-8-mreitz@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/nbd-fault-injector.py')
0 files changed, 0 insertions, 0 deletions