diff options
| author | Max Reitz <mreitz@redhat.com> | 2018-10-22 14:53:05 +0100 |
|---|---|---|
| committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-10-30 21:13:54 -0300 |
| commit | c1a65cba9c1b9a0ad72046dc73ab0e316b9cb7fe (patch) | |
| tree | c03add53bede8d4e7ecaedf4e55aa889692b24fb /tests/qemu-iotests/nbd-fault-injector.py | |
| parent | bf43b29df4cdc716f4a2af98b37e206a11541d99 (diff) | |
| download | focaccia-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